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 trialROBERT BUTLER
2,010 PointsGive the header element a class attribute. Then, set the class value to main-header.
I have tried it a few ways but I keep getting the message below like this,..
Bummer: Make sure you're defining a class attribute inside the <header> tag, and setting the value to 'main-header'.
How to solve?
4 Answers
Peter Vann
36,427 PointsHi Robert!
Without seeing your code and just relying on your description of the challenge, it sounds like it should look something like this:
<header class="main-header">Some Header Text and/or Other Nodes</header>
I hope that helps.
Stay safe and happy coding!
ROBERT BUTLER
2,010 PointsHi Peter,
I had tried it and it wouldn't go through. I even use this too. .main-header { /<header>*/ }
Peter Vann
36,427 PointsHi Robert!
To solve this, I would need to see your actual code, so I can pinpoint the issue.
And a link to the video and/or challenge would help, too.
If you can send those, I'll gladly take another look!
-Pete
ROBERT BUTLER
2,010 PointsThanks for trying but for some reason the bummer reply keeps coming back