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

Make a Website: HTML Forum

View Course

286 points
6652327c3638862d0662f4b85f833d58?s=140&d=retro
Submitted by
Goodfoot27
over 3 years ago

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?


0 votes

permalink

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

88 points
5461ab79631fe91c4d00139f_415549756
Submitted by
Aryan
almost 3 years ago

6 Comments

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

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.

5461ab79631fe91c4d00139f_415549756 Aryan almost 3 years ago

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

5461ab79631fe91c4d00139f_415549756 Aryan almost 3 years ago

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

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

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.

5461ab79631fe91c4d00139f_415549756 Aryan almost 3 years ago

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

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

You're welcome!


-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.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago

4 Comments

0592d67ec026bb4de7d96af9259cafec?s=140&d=retro Heather Copner over 3 years ago

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

55df2afa95e3787b9200005e_359368177 Judy over 3 years ago

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".

5461ab79631fe91c4d00139f_415549756 Aryan over 2 years ago

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

55df2afa95e3787b9200005e_359368177 Judy over 2 years ago

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