This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Goodfoot27
almost 10 years

9/10 What to do with jumbotron & other div's?

I’m not looking for a quick fix, I’m absolutely stuck and the information seems too vague for me to understand exactly what it’s asking. Can someone paste the answer so I can see what I’m working with?

Answer 549bc1a1e39efeaf6100c8d7

0 votes

Permalink

I also needed to ask the same thing, seems legit. =)

points
Submitted by Aryan
over 9 years

6 comments

Judy over 9 years

Hi Aryan, I’m not sure what your question is. If it is “What to do with jumbotron?” like Goodfoot asked then could you refine that a bit so I can form a better answer for your real question.

Aryan over 9 years

Hello, i am really confused with the divs in the HTML course, i am at about 16-18 percent in the course and that’s where i am stuck

Aryan over 9 years

it tells me to put stuff below the divs and idk where exactly is that better

Judy over 9 years

Do you see my post that starts out with “Here is the overall plan that you are aiming for:”? See how each div starts with an open tag, a

and then ends with a closing tag, a
? If you are asked to put something below a div then you would put it after the closing tag.

Aryan about 9 years

oh okay, thanks you lol. that’s really helpful. thanks bruh

Judy about 9 years

You’re welcome!

Answer 5383b5f6631fe9b63000069d

-1 votes

Permalink

Here is the overall plan that you are aiming for:

<!DOCTYPE html>
<html>
  <body>

    <div class="nav">
      <div class="container">
      ... your nav code goes in here
      </div>
    </div>

    <div class="jumbotron">
      <div class="container">
      ... your jumbotron code goes in here
      </div>
    </div>
    
    <div class="learn-more">
      <div class="container">
        ... your learn-more code goes in here
      </div>
    </div>

  </body>
</html>

More questions? Just ask.

points
Submitted by Judy
almost 10 years

4 comments

Heather Copner almost 10 years

Follow up question: I’m just starting out with HTML; please tell me the meaning of “jumbotron” - I know it’s not referring to the large TV…what is the context here? Thanks

Judy almost 10 years

Class names are just names of your choosing. The person who developed this course decided that the section of the page with the large image should be referred to as “jumbotron” – very much related to the large TV you mentioned. It could just as easily have been called “really-big-picture” or “awesome-scenery” or “get-their-attention”.

Aryan almost 9 years

Another thing, why is there always a second div class called container? Do you really need too make another div class.

Judy almost 9 years

Hi Aryan, these exercises are leading up to learning about Bootstrap http://getbootstrap.com/. Containers play a big part in Bootstrap. When you are ready to know more: http://www.helloerik.com/the-subtle-magic-behind-why-the-bootstrap-3-grid-works