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

HTML again

I followed closely and it said my dock type code was wrong?

index.html
<!DOCKTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Natalie Stebbins | My Drawings</title>
  </head>
  <body>
    <header></header>
    <h1>Natalie Stebbins</h1>
    <h2>My Drawings</h2>
    </header>
  <section></section>
    <p>Gallery will go here.</p>
  <footer>
    <p>&copy; 2014 Natalie Stebbins.</p>
  </footer>
  </body>
</html>
VIVIAN CENTENO
VIVIAN CENTENO
2,335 Points

You wrote DOCTYPE with a K, this may be the problem.

ok I'll try

Jason Brooks
Jason Brooks
1,362 Points

Yes, it's definitely "doctype" not "docKtype."

yeah it is, thanks for your help!

3 Answers

Max Kusnadi
Max Kusnadi
4,368 Points

Please take note you have 1 </header> unassigned. that may be a problem also

Benjamin Rochez
Benjamin Rochez
9,508 Points

Hello Steb,

Here's another mistake in your code

<header></header>
    <h1>Natalie Stebbins</h1>
    <h2>My Drawings</h2>
    </header>

You closed your header 2 times, that's not allowed. You need to close the header at the end of your header's content.

<header>
    <h1>Natalie Stebbins</h1>
    <h2>My Drawings</h2>
</header>

Hope that helped you, have a nice day !

THIS IS SOLVED