Why does JS AND CSS use /* Comment goes here. */ ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does JS AND CSS use /* Comment goes here. */ ?

19th Sep 2016, 4:03 PM
Carmelo the Brainiac Programmer.
3 Answers
+ 1
Comments are used widely in programming. There are couple of reasons behind this. 1. You write comments in plain English to understand what certain code section does. 2. If certain part of the code is not working properly or you don't wish to completely delete the code, you would like to comment it
9th Oct 2016, 10:37 AM
Jiten Shahani
Jiten Shahani - avatar
0
This is only for remember of comment it do not.show on page.
20th Sep 2016, 4:09 PM
Amit Dev Yadav
Amit Dev Yadav - avatar
0
it makes reading the code easy for you and for others who read it.
8th Oct 2016, 12:33 AM
Otmane Guourch
Otmane Guourch - avatar