Please i need a broad explanation on the meaning of <!--comments--> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please i need a broad explanation on the meaning of <!--comments-->

Please what does it serve as when you put it what will happen and as i can see its not even visual but anytime i put it i don't know what will happen i even thought that after it if i put a comment button someone can comment there please help out

6th Dec 2020, 3:50 PM
Habib Ahmed Tikau
Habib Ahmed Tikau - avatar
3 Answers
+ 6
Habib Ahmed Tikau Advantages for writing comments in code :- the well commented functions/logics are helpful to other programmers to understand the code better. They can easily understand the logic behind solving any problem. If you see/edit codelater, comments may help you to memorize your logic that you have written while writing that code.
6th Dec 2020, 3:57 PM
ㅤㅤㅤ
0
If a comment is between the inline elements,there will be no space between them: <a></a><!----><button></button> https://code.sololearn.com/W8REvYEe267V/?ref=app
6th Dec 2020, 4:32 PM
yingSSS['book'=="本"]