This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by priyam
about 11 years

I dont know why I get an error with this code

I get the following error when I run the code below:

Oops, try again. Did you remember to add all three extra sets of p tags?

I don’t know what the mistake is

> <!DOCTYPE html> <html> 	<head>
> 		<title>Using Headings</title>
> 	</head> 	<body>
>         <h2>Second Level Heading</h2>
>         <p>Paragraph One</p>
>         <h4>Fourth Level Heading</h4>
>         <p>Paragraph Two</p>
>         <h6>The Least Important Heading</h6>
>         <p>Paragraph Three</p> 	</body> </html>

Answer 50e68e71b11be11003001f13

10 votes

Permalink

You need to have ALL heading tags in your code.

<!DOCTYPE html>
<html>
<head>
    <title>Headings & Paragraphs</title>
</head>
<body>
    <h1>Hello</h1>
        <p>WHOA!</p>
    <h2>Heading Two</h2>
        <p>Stuff</p>
    <h3>Director of Some Stuff</h3>
        <p>Yut</p>
    <h4>Heading Four</h4>
        <p>More Stuff</p>
    <h5>Lowly Assistant</h5>
        <p>Dude!</p>
    <h6>Heading Six</h6>
        <p>What?!</p>
</body>
</html>

You’re missing heading tags and the paragraph tags that go underneath those heading tags.

points
Submitted by Todd
about 11 years

2 comments

lahonglam about 11 years

Thanks! But do it for what? for form of this?

Jirawat Panketkorn about 10 years

Thanks you

Answer 50e5cf8d175c6d03a5002de8

4 votes

Permalink

i had the same error but, i guess the point is…………..Add three “more”

the answer of Lesson 3 can be the answer of Lesson 2 + your answer (from Lesson 3)

points
Submitted by 김구
about 11 years

Answer 50e8a39ccaeba15a47000278

0 votes

Permalink

Keep in mind that each step is built from the previous step, by step 3, you should have more than three header tags and paragraph tags. Remember to submit after each step, so it will carry over to the next.

points
Submitted by David Blackwealth
about 11 years

Answer 512d261d3689e7e8de0040e6

0 votes

Permalink

Cool!

points
Submitted by Waleed Ahmad
about 11 years

Answer 5138a38539be1429f6003c54

0 votes

Permalink

right!

points
Submitted by DannyHong
about 11 years

Answer 515261aff917a94dd000037c

0 votes

Permalink

Yeah, so you’re supposed to use headings 1 through 6 right.

points
Submitted by David Espinoza
about 11 years