Why would you need the comment? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why would you need the comment?

I apologize if this is a dumb question, im very new to this.

22nd Jul 2016, 7:33 PM
joi
1 Answer
+ 1
Comments can be useful for quickly identifying something in some code. To remove some code for later if you dont want to completely delete it. To remind yourself, or others developing the site, what something is doing. HTML code can quickly become very confusing if not formatted and laid out correctly, comments can help quickly identify something.
23rd Jul 2016, 12:08 AM
Alex Winder
Alex Winder - avatar