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 trialdemian arizaleta
3,382 PointsWhen i change my header to a class selector it doesnt recognize it and just leaves that space blank
html: <header id="top" class:"main-header"> css: .main-header { background-color: orange; }
1 Answer
Julia Beckwith
2,526 PointsIt helps if you format your post using markdown (see the Markdown Cheatsheet at the bottom of this page)- but I think your problem is that the class should have an equals sign after it, not a colon....
html: <header id="top" class="main-header"
demian arizaleta
3,382 Pointsdemian arizaleta
3,382 PointsThank for the answers and the markdown tip;)