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

HTML How to Make a Website Customizing Colors and Fonts Write Hexadecimal Colors

can someone help me with this code, if not mistaken l know am doing the right thing but its failing

help

css/main.css
a {
  text-decoration: none;
}

#wrapper {
  max-width: 940px;
  margin: 0 auto;
}

#logo {
  text-align: center;
  margin: 0;
}

h1, h2{
    color: #fff;
}

p {
    color: #000;
}

nav a:hover {
    color: #32673f;
}

2 Answers

Ben Chadwick
Ben Chadwick
4,836 Points

Hi,

Your code is correct, but you still need to keep the original nav a elements styling.

nav a {
  color:#fff;
}

nav a:hover {
  color:#32673f;
}

This styling tells the browser that all navigation links are (#fff) and once hovered over they turn (#32673f)

Hope it helps

Yep, looks like you may have just removed the previous steps's styles when moving on to the last step MUZ140864 Tafadzwa Dube.

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

You are so close! I think you have added :hover onto your code from the previous task, rather than creating a new css statement with the :hover state on.