This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

225 points
0ed6d564543d8db128a53945d9973cd3?s=140&d=retro
Submitted by
NoobAtCode
almost 3 years ago

Help! It says I have empty <p> tags!

I'm putting the all the tags in hyphens because the way it's gonna preview. So instead of the normal tag it will be this: -yolo- instead of the regular tags...

<!DOCTYPE>
-html-
-head-
-title-
:D
-/title-
-h1-
AWESOME
-/head-
-body-
-p-
-h15-
So uhh yeah, I'm so AWESOME becuz you see, i like bacon!
-/p-
-p-

I LOvE BaCoN CuZ ItS LiKe So AwEsOmE!
-/p-
-p-

im bored tho...
-/p-
-p-
So yeah, It's my life and it's how I roll bruh!!!!!!!!! I'm so swagmoney at it, and I love Hyper Text MarkUp Langaug! I'm also learning HTML! LOL! Same thing! LOL! LOL! I spelled Language wrong! :P
-/p-


1 vote

permalink

Also it is course 4/6.

225 points
0ed6d564543d8db128a53945d9973cd3?s=140&d=retro
Submitted by
NoobAtCode
almost 3 years ago


0 votes

permalink

Well here are the nine issues I found in your code:

  • Your doctype declaration needs to provide html <!DOCTYPE html>
  • You need to close your h1 tag <h1> AWESOME </h1>
  • There is no such thing as h15 it goes from 1 - 6 (unless you program a whole new type of custom headers)
  • There is no reason you should be adding headers inside paragraphs anyway
  • You didn't close your nonexistant h15 tag
  • There is no need for you to skip a line before your 'I love bacon' paragraph (the browser ignores it)
  • Same with the 'bored' paragraph
  • You need to close your body tag </body>
  • You need to close your html tag </html>

1344 points
5907fa2e58212277b80000b1_403915627
Submitted by
Thomas Gerot
almost 3 years ago

1 Comment

5674c6dae39efec455000434_879409444 Zeke Y over 2 years ago

+1


-3 votes

permalink

<!DOCTYPE html>


Changing the colors!


Big Heading
A giant bear and a little duck were friends.
But the bear got hungry and ate the duck.

370 points
53f6604a80ff337a52000964_203946649
Submitted by
Corey D
almost 3 years ago

1 Comment

3a610972d516fd04d1cb7e2e69d6924f?s=140&d=retro dj wise almost 3 years ago

what aree you talking about


-3 votes

permalink

<!DOCTYPE html>


Changing the colors!


Big Heading
A giant bear and a little duck were friends.
But the bear got hungry and ate the duck.

for you d

370 points
53f6604a80ff337a52000964_203946649
Submitted by
Corey D
almost 3 years ago

1 Comment

53f6604a80ff337a52000964_203946649 Corey D almost 3 years ago

<!DOCTYPE html>


Changing the colors!


Big Heading
A giant bear and a little duck were friends.
But the bear got hungry and ate the duck.