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 Basics Getting Started with HTML Headings and Paragraphs Challenge

Don't understand the question.

The challenge question is not clear to me.

index.html
<!DOCTYPE html>
<html>
  <head>
    <link href="styles.css" rel="stylesheet">
    <title>Headings and Paragraphs</title>
  </head>
  <body>
        <h1>Oat cake chocolate bar jelly. Tootsie roll cheesecake sweet gummies candy cookie pudding cotton candy carrot cake. Souffl&eacute; caramels brownie oat cake cheesecake.</h1>

    <h2>Ice cream candy canes muffin icing pudding muffin jelly topping carrot cake. I love gingerbread dessert jujubes bonbon cupcake tootsie roll I love. Oat cake topping caramels I love cupcake oat cake chocolate topping donut.</h2>
        <p>Cotton candy topping halvah sugar plum gummies souffl&eacute;. Ice cream danish donut sugar plum. Macaroon carrot cake gummies. Caramels oat cake chocolate cake.</p>
  </body>
</html>

3 Answers

Restarting might be easier since you have deleted all of the headings. Heading one is "This is the Main Headline!", heading two is "Level 2 Heading" and heading three is "Level 3 Heading" if that helps.

The code that you posted is missing a line of text. Actually, It looks like you may have deleted all the headings that were provided in the challenge. Try restarting.

The task was to make the line that reads "This is the Main Headline!" wrapped in <h1> tags.

the text directly beneath the first headline (Oat cake chocolate bar jelly....) is the text that was supposed to be within the <p> (paragraph) tags.

Steven Parker
Steven Parker
216,083 Points

The first task asks you to "Set the main headline to a heading level 1 element. Then, place the line of text below the main headline inside opening and closing paragraph tags."

The "main headline" was the line that said "This is the Main Headline!". That's the line that should get the h1 tags, but it seems to be missing above. The 'h1` tags seem to be around the line of text that was intended to get the paragraph tags instead.

Two other heading lines related to the other tasks also seem to be missing. Try starting the challenge over, and be sure not to remove any of the initially provided text. All steps in this challenge will involve adding HTML tags to the provided page.