DEV Community

Discussion on: A common coding interview question

Collapse
 
elisabethgross profile image
elisabethgross • Edited

Nice job! And try surrounding your code with triple backticks to format the code ;)

Thread Thread
 
cxsttlx profile image
Juan Castillo

thanks I made it :D i'll wait for more

Thread Thread
 
gabgab2003 profile image
DownloadPizza

also you can put javascript directly after your backticks to make it have syntax highlighting (maybe its js, dont know, also works for other languages)

Thread Thread
 
elisabethgross profile image
elisabethgross

Pro tip!!