Top 10 Bootstrap Interview Questions |
What is Bootstrap?
Bootstrap is an open-source HTML, CSS, and Javascript framework for responsive & mobile-friendly website designing.
There are 3 elements in bootstrap,
- bootstrap.css - a CSS framework
- bootstrap.js - a Javascript/JQuery framework
- glyphicons - font & icon set
Bootstrap can be simply integrated along with distinct other platforms and frameworks, on existing sites and the new ones too. You can also utilize specific elements of Bootstrap along with your current CSS. Bootstrap approaches with popular pre-styled components for alerts, dropdowns, navigation bars, etc. It helps to reduce your project completion time. To learn more click here.
What are the advantages of Bootstrap?
The advantages of Bootstrap are,
- Easy to Use
- Responsiveness
- Customizable Bootstrap
- Consistency
- Support
- Simple Integration
- Pre-styled Components
- Grid etc.
To learn more click here.
What are the disadvantages of Bootstrap?
The disadvantages of Bootstrap are,
- Styles are verbose and can lead to lots of HTML output that's not perfectly semantic.
- Websites can start to look the same if you don't customize the styles and colors on your needs.
- Javascript is tied to JQuery(it's by the far most common javascript library though and the plugins can just as easily be left unused).
- It can require lots of overriding styles or rewriting their files if you have lots of customizations or want to deviate from the Bootstrap structure.
To learn more click here.
What is Jumbotron?
The jumbotron represents a big box for capturing the user's attention with some eye-catching content, offer, discount, etc. To learn more about the jumbotron click here.
What is Scrollspy?
The Scrollspy is used to automatically highlight the position of the content based on navigation or list-group components. To learn more about Scrollspy click here.
When to use Pagination?
The Pagination can be used when you have a website with lots of pages and you want to add some sort of pagination to each page. To learn more about Pagination click here.
What is Bootstrap Collapsible?
The Bootstrap Collapsible is used to show or hide a large amount of information. This is useful when you want to showcase different products, categories, etc. It uses javascript to show or hide an element based on mouse click events. To learn more about Collapse click here.
What are the Contextual classes in Bootstrap?
The Bootstrap Contextual classes are used to change the background color of individual table rows or table cells. It can be even applied in alert messages, breadcrumb, list-groups, panels, and etc. The Contextual classes are,
- Default
- Primary
- Secondary
- Success
- Danger
- Info
- Warning
- Light and
- Dark
To learn more with an example click here.
What is Tooltip?
Tooltip is a small pop-up box that displayed when the user moves the mouse over an element. To learn more click here.
What is Breadcrumb?
The Bootstrap Breadcrumb indicates the current location of the user by highlighting the navigational hierarchy. To learn more with creative examples click here.
Comments