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 HTML First Use HTML Elements

Dillon Greening
Dillon Greening
152 Points

Hello, Same problem as before. This is stopping me from pushing on, please assist. I am at: Challenge Task 3 of 6

After I write the code challenge, it says well done and I click next step and nothing, I preview my work and it all checks out, then it says well done again(in green) but will not move me to the next step.

Below is my code, but the tutorial says its right:

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Utsaaha | Designer</title> </head> <body> <header> <style> h1 { color: blue; } </style> <h1>SRI ANANT</h1> <style> h2 { color: red; } </style> <h2>Designer</h2> </header> <section> <p>Gallery goes here</p> </section> <Footer> <p>Ā© 2015 Sri Anant</p> </Footer>

</body>

</html>

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Utsaaha | Designer</title>
  </head>
  <body>
    <header>
      <style>
        h1 {
          color: blue;
        }
      </style>
      <h1>SRI ANANT</h1>
      <style>
        h2 {
          color: red;
        }
      </style> 
      <h2>Designer</h2>
    </header>
    <section>
      <p>Gallery goes here</p>
    </section>
    <Footer>
      <p>&copy; 2015 Sri Anant</p>
    </Footer>

  </body>

</html>

2 Answers

Hi Dillion,

I think you can refresh it and do again from copying the codes you already have above, maybe some issues. Refreshing would be helpful to clear up.

Jessica H
Jessica H
16,612 Points

I noticed you fixed on the second one. Do copy and paste this code. It looks correct.

Although if we aren't using CSS, style tags go in the head tag, not the body.

And all of that can go in one tag similar to this. Sorry I am on a cell phone:

style

H1 color Blue

H2 color: Red

/style

With brackets and tag ears and no caps of course