Comment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Comment

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

16th Jul 2018, 7:44 PM
Elizabeth
Elizabeth  - avatar
4 Answers
+ 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
25th Jul 2018, 10:43 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 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 */
16th Jul 2018, 7:48 PM
TurtleShell
TurtleShell - avatar
+ 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.
17th Jul 2018, 10:29 PM
Rtvq
Rtvq - avatar
+ 2
thank you for ur help
2nd Aug 2018, 6:34 AM
Elizabeth
Elizabeth  - avatar