Hi, I am new here, I am taking the "Make a Website" course


#1

Hi, I am new here, I am taking the "Make a Website" course. I am 53 and starting to learn this, been out of tune for a bit. I am in the Wrap with a Div section. I am having difficulty is wrapping the h1 and P elements. Any help would be appreciated.

Mike


#2

Hey there. First of all, welcome!

Now, what exact problem are you having? Wrapping the h1 and P elements in which way? Inside of a div?


#3

Hi Jacob,

I have copied the instructions, I have tried several ways, but nothing works.

Mike

Wrap with a div

Nicely done! As before, let's group this large feature with two divs to stay organized, like this:

<div class="jumbotron">
  <div class="container">
    <h1>Find a place to stay.</h1>
    <p>Rent from people in over 34,000 cities and 192 countries.</p>
  </div>
</div>

The outer <div class="jumbotron">..</div> groups the elements into the large feature section of the web page. The inner <div class="container">..</div> element wraps the contents in a container. We'll use both classes in the next section to style the large feature.

Instructions

Wrap the h1 and p elements with two divs, like in the example above. Give the outer div a class="jumbotron" and the inner div a class="container".