Comment | Sololearn: Learn to code for FREE!



So the way we write comment on css is different from the way we write them on css?

*/ /*

7/16/2018 7:44:44 PM


4 Answers

New Answer


HTML comment: <!-- Comment stuff --> CSS comment: /* Comment stuff */ JavaScript comment: single line: // Comment stuff multi-line: /* Comment stuff */ (same as CSS) Python comment: # Comment stuff


Your question makes no sense, I think you mean HTML and CSS comments are written differently which is true HTML <!— Comment —> CSS/JS /* Comment */


also a tip since your relitively new to writing code, add extra lines before and after each section of code (and comment alot) it helps with readability and if you comment what each section is it will be easier to come back and modify it later if needed.


thank you for ur help