Pages

Friday, March 18, 2016

Twitter Bootstrap Upwork Test Answer

1. Which of the following LESS variables does not belong to the Navbar component?
Answers:
  1. @navbar-margin-bottom
  2. @navbar-border-radius
  3. @navbar-padding-horizontal
  4. @navbar-default-height
2. Which of the following classes will make tables scroll up horizontally when width of the view is under 768px?
Answers:
  1. .table
  2. .table-striped
  3. .table-condensed
  4. .table-responsive
  5. .table-scrollable
3. Which of the following will set a modal window to be closed when the escape key is pressed?
Answers:
  1. Setting the option “backdrop” to true
  2. Setting the option “backdrop” to static
  3. Setting the option “keyboard” to true
  4. Setting the option “escape” to true
4. Which of the following is the correct description of the given table?
<table class=”table”>

</table>
Answers:
  1. It has light padding and only horizontal dividers with an enabled hover state on table rows within a <tbody>.
  2. It has zebra-striping enabled on any table row within the <tbody>,
  3. It has light padding and only horizontal dividers.
  4. It is compacted by cutting cell padding in half.
5. Which of the following will correctly call a dialog prompt?
Answers:
  1. $(‘#myModal’).modal()
  2. $(‘#myModal’).modal({ keyboard: false })
  3. $(‘#myModal’).modal(‘show’)
  4. All of these
6. Which of the following is not a Bootstrap component?
Answers:
  1. Glyphicons
  2. Breadcrumbs
  3. Dropdowns
  4. Pivottable
7. Which of the following colors is the default hover background color of the table row?
Answers:
  1. #f9f9f9
  2. #f5f5f5
  3. #ddd
  4. #66afe9
8. How many validation styles for states of on-form controls does Bootstrap have?
Answers:
  1. 6
  2. 5
  3. 4
  4. 3
9. Which of the following are not options of the method $().tooltip(options)?
Answers:
  1. animation
  2. delay
  3. backdrop
  4. show
10. Which of the following are helper classes?
Answers:
  1. .close
  2. .badge
  3. .caret
  4. .clearfix
11. 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:
  1. Statement A is true while Statement B is false.
  2. Statement B is true while Statement A is false.
  3. Both statements are true.
  4. Both statements are false.
12. Which of the following are not Bootstrap plugins?
Answers:
  1. transition
  2. tocible
  3. tooltip
  4. boilerplate
13. 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:
  1. A and B
  2. A and D
  3. C
  4. A and C
14. Which type of trigger cannot be used with the “delay” option to show and hide a popover?
Answers:
  1. click
  2. hover
  3. focus
  4. manual
15. What is the default amount of time delay between automatically cycling items in a carousel?
Answers:
  1. 2000
  2. 3000
  3. 5000
  4. None of these
16. Which of the following classes are contextual classes?
Answers:
  1. .success
  2. .warning
  3. .error
  4. .danger
17. Which of the following will set a modal window to not be closed on click?
Answers:
  1. Setting the option “backdrop” to true
  2. Setting the option “backdrop” to static
  3. Setting the option “keyboard” to true
  4. None of these
18. Which of the following components is used to indicate the current page’s location within a navigational hierarchy?
Answers:
  1. navs
  2. breadcrumbs
  3. pagination
  4. navbar
  5. progress bars
19. What does the following HTML code do?
<span class=”caret”></span>
Answers:
  1. It generates a close icon for dismissing content like modals and alerts.
  2. It utilizes the micro clearfix.
  3. It indicates dropdown functionality and direction.
  4. It indicates back button functionality.
20. What does the following HTML code do?
<span class=”badge”>…</span>
Answers:
  1. It indicates dropdown functionality and direction.
  2. It utilizes the micro clearfix.
  3. It highlights new or unread items.
  4. It extends the entire viewport.

No comments:

Post a Comment