Can we use html comment codes instead to js code because that's pretty easy to learn and remember.I am not saying that it's difficult to remember but only asking if we can use html comment instead of this...If it can then it would be good thing...
2/11/2019 4:57:48 PM
Aησηүмσυs6 Answers
New Answer<!-- this is a comment --> this is correct in HTML but this doesn't exist in JavaScript. In JavaScript use //for a single line comment Example :- // this is a comment and if in any case you need to comment out multiple lines of codes use /* ..... this is a comment..... */
<!-- this a comment & it will not show in --> <!-- --> it good for hint,note, something to leave to another coworker or yourself. :)
Learn Playing. Play Learning
SoloLearn Inc.
Send us a message