Bootstrap - Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to Bootstrap Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : C

Explanation

Both of the above options are correct.

Q 2 - Which of the following class indicates a dangerous or potentially negative action?

A - .active

B - .success

C - .warning

D - .danger

Answer : D

Explanation

.danger − Indicates a dangerous or potentially negative action.

Q 3 - Which of the following bootstrap style of button indicates caution should be taken with this action?

A - .btn-warning

B - .btn-danger

C - .btn-link

D - .btn-info

Answer : A

Explanation

.btn-warning − Indicates caution should be taken with this action.

Q 4 - Which of the following bootstrap style of image makes the entire image round by adding border-radius:500px?

A - .img-rounded

B - .img-circle

C - .img-thumbnail

D - None of the above.

Answer : B

Explanation

.img-circle − makes the entire image round by adding border-radius:500px.

Q 5 - Which of the following bootstrap style is used to add text to .navbar?

A - .navbar-text

B - .text

C - .form-text

D - None of the above.

Answer : A

Explanation

To wrap strings of text in an element use the class .navbar-text. This is usually used with <p> tag for proper leading and color.

Q 6 - Which of the following bootstrap style is to be used if you want to create a .navbar that scrolls with the page?

A - .navbar-static-top

B - .navbar-fixed

C - .navbar-fixed-top

D - None of the above.

Answer : A

Explanation

To create a .navbar that scrolls with the page, add the ..navbar-static-top class. This class does not require adding the padding to the <body>.

Q 7 - Which of the following bootstrap styles can be used to create a Animated progress bar?

A - .progress-active

B - .active

C - .progress-striped.

D - None of the above.

Answer : B

Explanation

To create an animated progress bar: Add a <div> with a class of .progress and .progress-striped. Also add class .active to .progress-striped. Next, inside the above <div>, add an empty <div> with a class of .progress-bar.

Answer : C

Explanation

Both of the above options are correct.

Answer : C

Explanation

Both of the above options are correct.

bootstrap_questions_answers.htm
Advertisements