pls explain comments..? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

pls explain comments..?

11th Oct 2016, 3:30 PM
Surendar N
Surendar N - avatar
4 Answers
+ 3
To add to Allison's post, users of your website can indeed see the comments you put on your website, by looking at the page source. So be sure not to put any sensitive information on there that you won't want others seeing.
11th Oct 2016, 4:04 PM
Cohen Creber
Cohen Creber - avatar
+ 2
The html code is <!-- your comment here --> It doesnt show up on the website for users to see, it is hidden, you only see the comments when you are reading the code directly. When you are building a program these are notes for the developers and anyone else who is reading your code to make use of it. Or it could be just a reminder to yourself about why you did something in the code. You might leave notes about requirements to edit the code to make it work best or which file to edit instead or cautions about editing or which version/edition it is and author credits and program webite. All program/markup languages have a certain way of leaving comments.
11th Oct 2016, 4:01 PM
Allison Wykle
Allison Wykle - avatar
+ 2
thank buddy Allison
11th Oct 2016, 4:05 PM
Surendar N
Surendar N - avatar
+ 1
Thanks cohen! :) good point
11th Oct 2016, 4:04 PM
Allison Wykle
Allison Wykle - avatar