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 trialRamon Major
105 PointsI don't understand what I'm doing wrong!!
It's unclear......I don't understand what I did 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>
<h3>Level 3 Heading<h3>
<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>
9 Answers
Ronald Greer
Front End Web Development Techdegree Graduate 56,430 PointsYou need to put / before your h1,h2,h3 do the same with the <p>! Hope this helps!
sepehr akbarzadeh
Python Web Development Techdegree Student 1,762 Pointshey Ramon,
your problem is your third paragraph end tag, you shouldn't write like this html <p/>
you must write html </p>
this is just miss typing.
Ramon Major
105 Pointsthanks, itried that and its still saying I need to add a paragraph element under the headline
sepehr akbarzadeh
Python Web Development Techdegree Student 1,762 Pointsoh yeah you are right. You also drop first <h1> and <h3> tag, in end tag you should write </h1> or </h3> then you pass your challenge.
Miguel Silva
11,290 PointsHello, Please provide more details so we can be able to help.
Thanks
Gonzalo Torres del Fierro
Courses Plus Student 16,751 Points<h1> need to be closed as <h1/>
same typo in <h3> bla vla bla vla <h3/>
the rest looks like is ready to be shown.
Ronald Greer
Front End Web Development Techdegree Graduate 56,430 PointsHE HE
Seifeldin Alaa
2,033 PointsWhat's the answer ?
Miguel Silva
11,290 PointsSo the request was "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."
You have a typo in the exercise in the closing of <h1> is h1 instead of /h1
Jeffrey Li
1,482 Pointsread the question word by word
<h1>This is the Main Headline!</h1>
all all tag with element <p>.....</p>
Zahra Andani
11,822 Points!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> 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>
<h3>3 Heading</h3>
<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>