Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Review for Bootstrap Test

Total questions: 13

Worksheet time: 7mins

Name
Class
Date
1.

Fill in the blank: All site content needs to be inside a ________ div to make the content responsive.

a)

“column”

b)

“jumbotron”

c)

“row”

d)

container

2.

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

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

a)

Tablet

b)

Desktop Computer

c)

Laptop

d)

Smart Phone

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)

False

b)

True

5.

left

middle

right

Which of the following will result in this button grouping?

a)

<a href="#" class="btn btn-default">Left</a>

<a href="#" class="btn btn-default">Middle</a>

<a href="#" class="btn btn-default">Right</a>

b)

<div class="btn-group"> <a href="#" class="btn btn-default">Left</a>

<a href="#" class="btn btn-default">Middle</a> <a href="#" class="btn btn-default">Right</a>

</div>

c)

<div class="btn-group-vertical">

<a href="#" class="btn btn-default">Left</a>

<a href="#" class="btn btn-default">Middle</a>

<a href="#" class="btn btn-default">Right</a> </div>

d)

<div class="btn-group btn-group-justified"

<a href="#" class="btn btn-default">Left</a>

<a href="#" class="btn btn-default">Middle</a>

<a href="#" class="btn btn-default">Right</a>

6.

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

a)

Buttons

b)

Glyphicons

c)

Emojis

d)

Tables

7.

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=" navbar-right"> <div class="container"> ... </div>

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>

8.

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

a)

Dropdown menus

b)

Nav-tabs

c)

Containers

d)

Grids

9.

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

a)

True

b)

False

10.

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

a)

.container-fluid is non-responsive to the window size, while container resizes but the width never changes, regardless of window size.

b)

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

c)

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

d)

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

11.

Why might you decide to use a dropdown menu on your website?

a)

To group options together in a way that makes sense

b)

o have a simple interface without too many buttons

c)

To save space and keep a clean website layout

d)

All of the above

Answered

12.

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

a)

It depends on the screen size.

b)

8

c)

4

d)

12

13.

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

a)

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

b)

<div class="container"> <div class="jumbotron"> <h1>This text will be in a jumbotron</h1> </div> </div>

c)

<div class="container"> <jumbotron> <h1>This text will be in a jumbotron</h1> </jumbotron> </div>

d)

<div class="jumbo responsive"> <h1>This text will be in a jumbotron</h1> </div>