"Build an Interactive Story App (Retired)" was retired on April 30, 2017. You are now viewing the recommended replacement.

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

i thought i wrote the right code but it kept saying Bummer make sure you define the right code

What did i do wrong?

index.html
<iDOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Ira Dwight ! Photographer</title>
  </head>
  <body>
    <header>
      <h1>Ira Dwight</h1>
      <h2>Designer</h2>
    </header>
    <section>
      <p>Gallery will go here.</p>
    </section>
    <footer>
      <p>&copy; 2016 Ira Dwight.</p>
    </footer>
    </body>
  </html>

3 Answers

You're write <iDOCTYPE html> and it should be <!DOCTYPE html> - as you can see you just made a small type (i instead of !) :-)

Your doctype has an error, it's easy to fix.

Change

<iDOCTYPE html>

to

<!DOCTYPE html>
Vance Rivera
Vance Rivera
18,322 Points

DOCTYPE is wrong here.

<!-- Should be -->
<!DOCTYPE html>

Cheers!