DEV Community

Discussion on: JavaScript Map() Method Explained by Going On a Hike

Collapse
 
chrisvasqm profile image
Christian Vasquez

Hey Kevin, the graphics in your posts are really helpful! Keep it up :D

I would like to suggest adding a small detail to each code block in your posts.

Right after the triple opening backticks you can add js so the code block goes from this:

let name = 'Chris';

function greet(name) {
    console.log('Hi ' + name);
}

greet(name);

To this:

let name = 'Chris';

function greet(name) {
    console.log('Hi ' + name);
}

greet(name);
Collapse
 
kbk0125 profile image
Kevin Kononenko

Well... good call Cristian! Can I admit that I did not even know what a triple backtick was until today? I would usually just use an HTML to Markdown converter and fix the formatting... lesson learned!