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 trialPuja Prakash
939 PointsDon't understand the question.
The challenge question is not clear to me.
<!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é 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é. Ice cream danish donut sugar plum. Macaroon carrot cake gummies. Caramels oat cake chocolate cake.</p>
</body>
</html>
3 Answers
KRIS NIKOLAISEN
54,971 PointsRestarting 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.
Lee Android
Courses Plus Student 3,561 PointsThe 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
231,248 PointsThe 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.