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
Borna Hrastovec
416 PointsI do the code exactly as showed on the video and it still doesn't show the color.
<style> nav a { color: white background-color: orange; } </style>
2 Answers
Alexander Davison
65,469 PointsYou forgot a semicolon on the first line of CSS.
Try this:
<style>
nav a {
color: white;
background-color: orange;
}
</style>
Hope this helps! ~Alex
Borna Hrastovec
416 PointsYes Alex, and thank you for your reply, but i realized that i missed that semicolon after white just a second after that i posted the question, although thank you for your reply!
Alexander Davison
65,469 PointsNo problem! :)