Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPeter t.
1,736 Points1
1
4 Answers
Tim Knight
28,888 PointsArtem,
The commenting style of <!-- this comment -->
allows you to make comments within your HTML. The other format of // this comment
is for making comments in your JavaScript. CSS too has their own commenting syntax of /* this comment */
for adding comments within your CSS files.
Privado Coronel
13,504 Points/* this is comment is for css */
<!-- this comment is for html -->
Peter t.
1,736 Points1
Jason Anello
Courses Plus Student 94,610 Pointsthe css comment style can also be used to comment multiple lines in javascript
/* All of these
lines will be
commented out */