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

Make a Website: HTML Forum

View Course » View Exercise

142 points
2e26e0f10d430a999df978261e8075b8?s=140&d=retro
Submitted by
Justin Weissert
almost 3 years ago

2/9 Why isn't my code working? PLEASE HELP!!!!!

This is my Code what am i doing wrong?

<!DOCTYPE html>
<html>
  <body>

    <ul>
       <li>Item 1</li>
  <li>Justin</li>
  <li>"Browse"</li>
    </ul>
    <li>"Sign Up"</li>
    <li>"Log in"</li>

    </ul>

  </body>
</html>

1 vote

permalink

Hi Justin,

List Items -- these: <li> ... </li> must be inside of a list, in this case, an Unordered List -- a <ul> ... </ul>.

Your first 3 list items are inside a list but your next 2 are not.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
almost 3 years ago


1 vote

permalink

To follow up on what AlbionsRefuge said, you forgot to start a new ul tag after Line 9. There's a /ul tag for Line 13, which ends the list, but you didn't place anything to start the list at Line 9 or Line 10.

23 points
A994cdba375479aa05f19d6c03e3bc2d?s=140&d=retro
Submitted by
JesterRogue
almost 3 years ago

2 Comments

895106cdee3e817e2ffd741436d10c01?s=140&d=retro Kevpfund614 almost 3 years ago

wait whats the full answer please i need help!

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

@Kevpfund614, if you've followed this conversation and still need help, please post your code and we'll help you spot the bug!