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

when i set the h1 to 1.75 it tells me bummer it lookes like you removed the h1element when i haven't removed it

i need help lol

index.html
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit | Designer</title>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/main.css">
  </head>
h1 { 
font-family: 'Open Sans',  sans-serif; }
h1 {
font-family: 'Open Sans', sans-serif;
font-size: 1.75em;
font-weight: normal;
}
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;
}
h1 { 
font-family: 'Open Sans',  sans-serif; }
h1 {
font-family: 'Open Sans', sans-serif;
font-size: 1.75em;
font-weight: normal;
}

2 Answers

First off, it looks like you have 2 different CSS selectors for the h1. In programming, you want to try and follow a process called DRY(Don't repeat yourself). Try deleting your first h1 rule as you basically did the same thing. I'm not sure that is the issue because I don't see any HTML code.

Shawn Denham
seal-mask
PLUS
.a{fill-rule:evenodd;}techdegree
Shawn Denham
Python Development Techdegree Student 17,802 Points

You have no <h1> tag in your HTML that you posted. and brianborin is right, you are actually triplicating your css. You are linked to an external style sheet as well as trying to declare you css in your HTML document.