Comment | Sololearn: Learn to code for FREE!

0

Comment

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

Elizabeth

4 Answers

New Answer

+3

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

+2

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

+2

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.

+2

thank you for ur help