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 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

      <h2>Shopping List</h2>

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.