Recall & Review
beginner
What is Bootstrap?
Bootstrap is a free, open-source toolkit for building responsive and mobile-first websites using HTML, CSS, and JavaScript components.
Click to reveal answer
beginner
Which HTML element is used to include Bootstrap CSS in your page?
The
<link> element inside the <head> section is used to include Bootstrap CSS.Click to reveal answer
beginner
What is the purpose of the <code>container</code> class in Bootstrap?The <code>container</code> class centers your content and adds horizontal padding to keep content aligned and responsive on different screen sizes.Click to reveal answer
beginner
How do you make a button styled by Bootstrap?
Add the class <code>btn</code> and a style class like <code>btn-primary</code> to a <code><button></code> or <code><a></code> element.Click to reveal answer
beginner
Why do we include the
meta viewport tag in a Bootstrap page?The
meta viewport tag ensures the page scales correctly on mobile devices, making the layout responsive and readable.Click to reveal answer
Which tag is used to add Bootstrap's CSS file to your HTML page?
✗ Incorrect
Bootstrap CSS is added using the tag inside the section.
What class do you add to a div to create a responsive container in Bootstrap?
✗ Incorrect
The 'container' class centers content and adds padding for responsiveness.
Which Bootstrap class styles a button with a blue background by default?
✗ Incorrect
The 'btn-primary' class styles buttons with a blue background.
Why is the tag important?
✗ Incorrect
This meta tag ensures the page scales properly on different screen sizes.
Where should you place the Bootstrap JavaScript bundle script tag?
✗ Incorrect
Placing scripts at the end of helps the page load faster and ensures HTML is parsed first.
Describe the basic structure of a first Bootstrap page including essential tags and classes.
Think about what you need to start a responsive page with Bootstrap.
You got /6 concepts.
Explain why responsiveness is important and how Bootstrap helps achieve it in your first page.
Imagine viewing your page on a phone versus a desktop.
You got /4 concepts.