Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Forms HTML Mastery

I coudn't find the level 2 header and i'm stock

Hi guys, i know it's might be a silly mistake, but i tried different avenue to solve this and i'm still stock with this exercice.

Could I have a little help on this one :)

here, my code :

<!DOCTYPE html> <html> <head> <title>HTML Mastery Challenge</title> </head> <body> <h1>HTML Mastery Challenge</h1> <div> <h2>Shoppinglist</h2> </div>

<!-- Write your code below -->

</body> </html>

2 Answers

Hayden Taylor
Hayden Taylor
5,076 Points

the answer is

<div>
      <h2>Shopping List</h2>
</div>

notice the h2 is a second level heading has h1 is the first and it goes down from h1 - h6. I think you are confusing the header tag and the heading tags.

the header is a section in the html document (the top) and a heading is like a title to a paragraph like in an essay when giving a heading for each section of your paper.

kk. Thank you hayden. I will try this, because I was sure i had this correctly. It might miss the header also into my code.