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 Add Fonts

i dont get this

i need help

index.html
a {
  text-decoration: none;
}

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

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

h1, h2 {
  color: #fff;
}

nav a {
  color: #fff;
}

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

h1, h2 {
  color: #fff;
  font-family: "Open Sans";
css/main.css
a {
  text-decoration: none;
}

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

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

h1, h2 {
  color: #fff;
}

nav a {
  color: #fff;
}

nav a:hover {
  color: #32673f;
}
Julie Myers
Julie Myers
7,627 Points

Could you be more specific. What don't you get?

2 Answers

Matt Ramsden
Matt Ramsden
14,152 Points

Your index.html contains CSS code instead of HTML code, it has no structure to put the CSS code that's in main.css

Your HTML should look something like:

'''html <!DOCTYPE html> <html> <head> </head> <body> <div id = "wrapper"> <div id = "logo">Example Logo</div> <h1>Heading 1 Example</h1> <h2>Heading 2 Example</h2> <nav> <a href="#" target="_self">Example Link</a> </nav> </div> </body> </html> '''