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

Doug Nascimento
Doug Nascimento
390 Points

Flipping wrapper id with anchor

Flipping wrapper id with anchor made the text-decoration show up again . Also my anchor went red when I organized the code.

Why?

P.S.: I put it back to its original order and works great.

3 Answers

Hey Doug, do you happen to have the original code? I'm pretty sure I have an idea as to what went wrong here.

Doug Nascimento
Doug Nascimento
390 Points

Hey Justin, thank you for your interest.

Here is the link : https://w.trhou.se/dupfhl0ps1

Cheers

../

wrapper {

max-width: 940px; margin: 0 auto; padding: 0 5%;

/****************************** HEADING *******************************/

}

../

Not sure but the only thing I see that may cause a problem is where the curly brace comes far after the comment, instead of immediately after the 5%;