wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Bootstrap Unit Review

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following is not a Bootstrap component covered in this unit?

a)

Glyphicons

b)

Buttons

c)

Emojis

d)

Tables

2.

All site content needs to be inside a ________ div to make the content responsive.

a)

“row”

b)

“jumbotron”

c)

“column”

d)

“container”

3.

True or False: If you are adding your own CSS sheet, make sure your CSS file comes before the Bootstrap CSS file.

a)

True

b)

False

4.

True or False: The number of columns in a row depends on the device that the website is being viewed on.

a)

True

b)

False

5.

What is the largest device that will display this row in stacked columns?

<div class=“row”>

<div class=“col-sm-6”>1</div>

<div class=“col-sm-6”>2</div>

</div>

a)

Laptop

b)

Desktop Computer

c)

Smart Phone

d)

Tablet

6.

Which of the following does not correctly create a navigation bar?

a)

<nav class="navbar navbar-default">

<div class="container">

</div>

</nav>

b)

<nav class="navey-nav navbar-right">

<div class="container">

</div>

</nav>

c)

<nav class="navbar navbar-inverse">

<div class="container">

</div>

</nav>

d)

<nav class="navbar navbar-inverse navbar-fixed-top">

<div class="container">

</div>

</nav>

7.

Fill in the blank: ________ are a great way to pack more options into a navigation bar while keeping the interface clean and simple.

a)

Nav-tabs

b)

Dropdown menus

c)

Containers

d)

Grids

8.

True or False: Bootstrap example websites can be used as a starter template for your own projects.

a)

True

b)

False

9.

Which of the following correctly creates a thumbnail of the CodeHS logo that links to https://codehs.com?

a)

<a href="https://codehs.com/">

<img src="codehs_logo.jpg" alt="CodeHS Logo">

</a>

b)

<a href="https://codehs.com/">

<img class="thumbnail" src="codehs_logo.jpg" alt="CodeHS Logo">

</a>

c)

<a href="https://codehs.com/" class="thumbnail">

<img src="codehs_logo.jpg" alt="CodeHS Logo">

</a>

d)

<a href="codehs_logo.jpg" class="thumbnail">

<img src="https://codehs.com/">

</a>

10.

Which of the following creates a table that is responsive to screens of different sizes?

a)

<div class=“response”>

</div>

b)

<table class=“table-responsive”>

...

</table>

c)

<div class=“table-responsive”>

<table class=“table”>

...

</table>

</div>

d)

<div class=“table”>

<table class=“responsive”>

...

</table>

</div>

11.

Which of the following will correctly display a page header with subtext?

a)

<h1>

This is the header <small> This is the subtext </small>

</h1>

b)

<div class="page-header">

<h1>

This is the header <small> This is the subtext </small>

</h1>

</div>

c)

<div>

<h1>

This is the header <small> This is the subtext </small>

</h1>

</div>

d)

<page-header>

<h1>

This is the header <small> This is the subtext </small>

</h1>

</page-header>

12.

How many columns fit in a single row in the Bootstrap grid system?

a)

4

b)

12

c)

8

d)

24

13.

True or False: It is impossible to have more than one jumbotron on a given page.

a)

True

b)

False

14.

Which of the following correctly creates a jumbotron on your website?

a)

<div class="container">

<div class="jumbotron">

<h1>This text will be in a jumbotron</h>

</div>

</div>

b)

<jumbotron>

<h1>This text will be in a jumbotron</h1>

</jumbotron>

c)

<div class="container">

<jumbotron>

<h1>This text will be in a jumbotron</h>

</jumbotron>

</div>

d)

<div class="jumbotron responsive">

<h1>This text will be in a jumbotron</h1>

</div>

15.

What is the difference between .container and .container-fluid?

a)

.container-fluid keeps margins to the left and right of the content, while .container fills the entire width of the window.

b)

.container-fluid is responsive to the window size, while container creates a fixed width that never changes, regardless of window size.

c)

.container should be used in headers, while .container-fluid is used for p tags.

d)

.container-fluid constantly updates to fit the width of the window, while .container will update occasionally as the window is resized.