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 trialStephen Conti
5,684 PointsChallenge Task 2 of 3 – level 2 heading I am setting it correctly
I feel I am coding the subhead as a level 2 heading correctly. yet it keeps telling me it is wrong.
<!DOCTYPE html>
<html>
<head>
<link href="styles.css" rel="stylesheet">
<title>Headings and Paragraphs</title>
</head>
<body>
<h1>This is the Main Headline!</h1>
<p>Oat cake chocolate bar jelly. Tootsie roll cheesecake sweet gummies candy cookie pudding cotton candy carrot cake. Soufflé caramels brownie oat cake cheesecake.<p>
<h2>Level 2 Heading</h2>
<p>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.<p>
Level 3 Heading
Cotton candy topping halvah sugar plum gummies soufflé. Ice cream danish donut sugar plum. Macaroon carrot cake gummies. Caramels oat cake chocolate cake.
</body>
</html>
2 Answers
Shay Paustovsky
969 PointsHi Stephen,
you didn't type out correctly the ' <p></p> ' tags.
<p> lorem ipsum </p>
The 'paragraph' element like all the elements, require a proper closing element which is (</p>)
Hope I've helped you... Happy Coding
(If I've helped you consider giving a feedback so I could improve in the future)
Feisty Mullah
25,849 PointsHello, You forgot to close the "p" tag properly </p>, A back slash(/) is missing in your closing "p" tag. Everything else looks OK. Hope this helps.
Stephen Conti
5,684 PointsThanks!!!
Stephen Conti
5,684 PointsStephen Conti
5,684 PointsHA!!! Thanks I figured it had to be something simple/stupid