oDesk Twitter Bootstrap Test Answers 2015
·
1. Which of the following are not
Bootstrap plugins?
Answers:
• transition
• tocible
• tooltip
• boilerplate
2. Which type of trigger cannot be
used with the "delay" option to show and hide a popover?
Answers:
• click
• hover
• focus
• manual
3. Which of the following will set a
modal window to not be closed on click?
Answers:
• Setting the
option "backdrop" to true
• Setting the option
"backdrop" to static
• Setting the
option "keyboard" to true
• None of these
4. Which of the following LESS
variables does not belong to the Navbar component?
Answers:
•
@navbar-margin-bottom
•
@navbar-border-radius
•
@navbar-padding-horizontal
• @navbar-default-height
5. Which of the following classes will
make tables scroll up horizontally when width of the view is under 768px?
Answers:
• .table
• .table-striped
•
.table-condensed
• .table-responsive
•
.table-scrollable
6. Which of the following will set a
modal window to be closed when the escape key is pressed?
Answers:
• Setting the
option "backdrop" to true
• Setting the
option "backdrop" to static
• Setting the option
"keyboard" to true
• Setting the
option "escape" to true
7. Which of the following is the
correct description of the given table?
<table class="table">
...
</table>
Answers:
• It has light
padding and only horizontal dividers with an enabled hover state on table rows
within a <tbody>.
• It has
zebra-striping enabled on any table row within the <tbody>,
• It has light padding and
only horizontal dividers.
• It is compacted
by cutting cell padding in half.
8. Which of the following will
correctly call a dialog prompt?
Answers:
•
$('#myModal').modal()
•
$('#myModal').modal({ keyboard: false })
• $('#myModal').modal('show')
• All of these
9. Which of the following is not a
Bootstrap component?
Answers:
• Glyphicons
• Breadcrumbs
• Dropdowns
• Pivottable
10. Which of the following colors is
the default hover background color of the table row?
Answers:
• #f9f9f9
• #f5f5f5
• #ddd
• #66afe9
11. How many validation styles for
states of on-form controls does Bootstrap have?
Answers:
• 6
• 5
• 4
• 3
12. Which of the following are not
options of the method $().tooltip(options)?
Answers:
• animation
• delay
• backdrop
• show
13. Which of the following are helper
classes?
Answers:
• .close
• .badge
• .caret
• .clearfix
14. Which of the following statements
is correct about using the Collapse plugin?
A) The Transitions plugin must be
included.
B) The Popover plugin must be
included.
Answers:
• Statement A is true while
Statement B is false.
• Statement B is
true while Statement A is false.
• Both statements
are true.
• Both statements
are false.
15. Which of the following statements
are correct with regards passing options?
A) Options can be passed via data
attributes or JavaScript.
B) For data attributes, the option
name has to be appended to option-, as in option-animation="".
C) For data attributes, the option
name has to be appended to data-, as in data-animation="".
D) Options can be passed only via
JavaScript.
Answers:
• A and B
• A and D
• C
• A and C
16. What is the default amount of time
delay between automatically cycling items in a carousel?
Answers:
• 2000
• 3000
• 5000
• None of these
17. Which of the following classes are
contextual classes?
Answers:
• .success
• .warning
• .error
• .danger
18. Which of the following components
is used to indicate the current page's location within a navigational
hierarchy?
Answers:
• navs
• breadcrumbs
• pagination
• navbar
• progress bars
19. What does the following HTML code
do?
<span
class="caret"></span>
Answers:
• It generates a
close icon for dismissing content like modals and alerts.
• It utilizes the
micro clearfix.
• It indicates dropdown functionality
and direction.
• It indicates
back button functionality.
20. What does the following HTML code
do?
<span
class="badge">...</span>
Answers:
• It indicates
dropdown functionality and direction.
• It utilizes the
micro clearfix.
• It highlights new or
unread items.
• It extends the
entire viewport.