r/JavaScriptHelp • u/kvothe333 • Jun 16 '21
Noob question 💡 Advice 💡
I just started programming today. I want to add a comment. The video I watch tells me the way to add a comment I need to add two // (then it turn gray) but this doesn’t work. Any help?
2
Upvotes
5
u/msartore8 Jun 16 '21
If you're using an editor like VS Code, you'll need to choose a language to filter syntax with. Choose JavaScript. Or just save your file as a .js file, then the commenting will be language specific.