Exercise 11/13 - Add Div class


#1

All the text on the page is kinda stuck together. The lines overlap one another :frowning:

<!DOCTYPE html>

<html>
<head>
  <title>Ollie Bike Sharing</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
 
  <body>  
    <div class="container"> 
   <h2>Ollie</h2>
  <ul>
    <li>sign up</li>
    <li>search bikes</li>
    <li>reserve a bike</li>
    <li>about us</li>
  </ul>
  <h1>Ollie Bike Sharing</h1>
  <h3>Share Your Pedals with the World.</h3>
  <p>Need a set of wheels while you're in town? Use Ollie to pair your perfect vacation with a stylish, affordable bike rental. Here is a <a href="cities.html">list</a> of cities where you can find us.</p>
 <video width="320" height="240" controls> <source src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-1/ollie.mp4" type="video/mp4"> </video>

    </div>  
</body>


</html>

#3

^This bit of code you need to have it in a div with the class nav


^This bit of code you need to have it in a div with the class main


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.