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 trial

CSS How to Make a Website Customizing Colors and Fonts Organize CSS with Comments

Jim McArthur
Jim McArthur
3,201 Points

Comments /* general ?*/

some of the comments I place on my CSS code changed the color of the text, of the code to the light gray of the comment...some did not. Please comment

Jim, I'd love to help but I can't see your code. Would you mind copying it and pasting it here for us to see and make suggestions?

3 Answers

Stone Preston
Stone Preston
42,016 Points

you may have improperly closed one of your comments then.

make sure each comment is of the form

 /* comment text */
Chase Lee
Chase Lee
29,275 Points

Jim McArthur. We cannot properly help you if we can't see the code that you're using.

Make sure that all of your comments look like this:

/* your comment */