0
Comment
So the way we write comment on css is different from the way we write them on css?
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
+ 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