Q. What is bootstrap’s global default font-size?

  • (A) 9px
  • (B) 10px
  • (C) 12px
  • (D) 14px
πŸ’¬ Discuss
βœ… Correct Answer: (D) 14px
Explanation: Bootstrap’s global default font-size is 14px, with line-height of 1.428. This is applied to element and all paragraphs. In addition all <p> elements have bottom margins.

Q. How many classes does bootstrap grid system has?

  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1
Explanation: Bootstrap grid system has four classes. Xs, sm, md, lg. as is for phones having screens less than 786px wide, sm is for tablets. Screens equal to or greater than 768px, md is for small laptops, screen equal to or greater than 992px wide, lg is for laptops and desktops, Screens equal to or greater than 1200px wide.

Q. Which of the following method will hide and destroy tooltip?

  • (A) .tooltip(“destroy”)
  • (B) .tooltip(options)
  • (C) .tooltip(“toggle”)
  • (D) .tooltip(“hide”)
πŸ’¬ Discuss
βœ… Correct Answer: (A) .tooltip(“destroy”)
Explanation: .tooltip(“destroy”) hides and destroys the tooltip, .tooltip(“hide”) hides the tooltip, .tooltip(options) activates the tooltip with an option.

Q. What is the default value of offset?

  • (A) 10
  • (B) 20
  • (C) 30
  • (D) 40
πŸ’¬ Discuss
βœ… Correct Answer: (A) 10
Explanation: The default value of offset is 10, it specifies number of pixels to offset from top when calculating the position of scroll.

Q. Which of the following specifies header text of popover?

  • (A) placement
  • (B) selector
  • (C) trigger
  • (D) title
πŸ’¬ Discuss
βœ… Correct Answer: (A) placement
Explanation: title specifies the header text of popover, its default value is “” ,trigger specifies how popover is triggered, placement specifies popover position

Q. What appends the popover to specific elements?

  • (A) placement
  • (B) delay
  • (C) content
  • (D) container
πŸ’¬ Discuss
βœ… Correct Answer: (D) container
Explanation: container appends the popover to specific element, e.g. container: ‘body’, content specifies the text inside popover’s body, delay specifies the number of milliseconds it will take to open and close popover.

Q. Which of the following fades the model in and out?

  • (A) .modal-sm
  • (B) .modal-content
  • (C) .moal-lg
  • (D) .fade
πŸ’¬ Discuss
βœ… Correct Answer: (D) .fade
Explanation: .fade adds an animation or transition effect which fades modal in and out, .modal-sm specifies a small modal, .modal-lg specifies a large modal, .modal-content style modal properly with border, background-color etc.

Q. Which event occurs when collapsible element is fully shown?

  • (A) shown.bs.collapse
  • (B) show.bs.collapse
  • (C) hide.bs.collapse
  • (D) hidden.bs.collapse
πŸ’¬ Discuss
βœ… Correct Answer: (A) shown.bs.collapse
Explanation: shown.bs.collapse occurs when collapsible element is fully shown after CSS transitions have completed, show..bs.collapse occurs when collapsible element is about to be shown.

Q. What activates the collapsible element with an option?

  • (A) .collapse(“”toggle)
  • (B) .collapse(“hide”)
  • (C) .collapse(“show”)
  • (D) .collapse(“options”)
πŸ’¬ Discuss
βœ… Correct Answer: (D) .collapse(“options”)
Explanation: .collapse(“options”) activates collapsible element with an option, .collapse(“toggle”) toggles collapsible element, .collapse(“show”) shows collapsible element, .collapse(“hide”) hides collapsible element.

Q. The default value for an interval is ___

  • (A) 5000
  • (B) 4000
  • (C) 2390
  • (D) 1000
πŸ’¬ Discuss
βœ… Correct Answer: (A) 5000
Explanation: interval specifies the delay in milliseconds between each slide, we can set the interval to false to stop items from automatically sliding, its default value is 5000. The set value should be number or Boolean false.