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

Make a Website: HTML Forum

View Course » View Exercise

84 points
C74cc521539e7fff79e556aa4326de19?s=140&d=retro
Submitted by
Keegan Williams
almost 3 years ago

6/9 What is wrong? Please help new to this!

<!DOCTYPE html>
<html>
  <body>

    <ul>
      <li>Keegan</li
      <li>Browse</li>
    </ul>
<ul>
<li>Sign Up
<li>Log In
<li>Help
</ul>
  </body>
</html>
</ul>
</div>
</div>

<div clas="jumbotron">
 <div class="container">
  <h1>Find a place to stay</h1>
  <p>Rent from people in over cities and 192 countries</p>
 </div>
</div>
</body>
</html>

0 votes

permalink

You have a few things to fix up there Keegan.

  • What happened to your <div class="nav"> and <div class="container">? They seem have gone missing from your navigation code.
  • <li>Keegan</li is missing a final >
  • In your second <ul> ... </ul> element, all of your <li> elements are missing their closing tags
  • You have these extra tags at the end of your navigation code: </body>, </html>, </ul>

Fixing all that gets you caught up to the beginning of exercise 6. Now you can begin with the instructions for that exercise. Just do one step at a time, pay attention to detail and let us know how you get on with that.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
almost 3 years ago

3 Comments

C74cc521539e7fff79e556aa4326de19?s=140&d=retro Keegan Williams almost 3 years ago

Thanks! This helped a lot but I have another question
.nav a {
color:#5a5a5a;
font-size: 24px;
font-weight: bold;
padding-top: 14px;
padding-bottom: 14px;
padding-left: 10px;
padding-right: 10px;
text-transform: uppercase;
}
.jumbotron {
height:500px;
color: #fff;
background-image: url('http://goo.gl/04j7Nn');
}
.jumbotron h1 p {
color: #535353;
font-size: 20px;
font-weight: bold;
}

.jumbotron: p {
color: #535353;
font-size: 20px;
}

C74cc521539e7fff79e556aa4326de19?s=140&d=retro Keegan Williams almost 3 years ago

What is wrong with this? I have been struggling on this for a long time!
Get the error saying set the font size to 20 px and it is! I am using Firefox and have changed it 80% zoom! Please Help!

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

It looks like you have a semicolon where it shouldn't be, in here: .jumbotron: p