Top Most Bootstrap Interview Questions Part – 2
Explain What Is Bootstrap?
Bootstrap is a framework for building the rich web applications with minimal effort. This framework emphasis more on building mobile web applications.
Explain Why To Choose Bootstrap For Building The Websites?
There are few reason why we choose Bootstrap for building websites
•Mobile Support:
For mobile devices it provides full support in one single file rather than in separate file. It supports the responsive design including adjusting the CSS based on the different types of device, size of the screen etc. It reduces extra effort for developers.
•Easy to learn:
Writing application in bootstrap is easy if you know CSS and HTML
•Browser Support:
It supports all the popular browsers like Firefox, Opera, Safari, IE etc.
Who Developed The Bootstrap?
Mark Otto and Jacob Thornton at Twitter
What Are The Key Components Of Bootstrap?
Plenty of CSS files
Scaffolding
List of layout components
JavaScript Plugins
Customize your components
Explain What Are Class Loaders In Bootstrap?
Class loader is a part of JRE (Java Runtime Environment) which loads Java classes into Java virtual environment. Class loaders also does the process of converting a named class into its equivalent binary form.
What Are The Types Of Layout Available In Bootstrap?
In Bootstrap there are two types of Layout available
•Fluid Layout:
Fluid layout is used when you want to create a app that is 100% wide and use up all the width of the screen
•Fixed Layout:
For a standard screen you will use fixed layout (940 px) option
Explain What Is Bootstrap Grid System?
For creating page layout through a series of rows and columns that house your content Bootstrap Grid Sytem is used.
What Are Offset Columns In Bootstrap?
For more specialized layouts offsets are a useful feature. For more spacing they can be used by pushing column over.
For example, .col-xs=* classes do not support offset but they are easily replicated using an empty cell
What Is Column Ordering In Bootstrap?
Column ordering is one of the feature available in bootstrap and you can easily write columns in an order and show them in another one. With .col-md-push-* and .col-md-pull-*
the order of the column can be easily changed.
What Function You Can Use To Wrap A Page Content?
To wrap a page content you can use .container and using that you can also center the content.
Explain What Pagination In Bootstrap Is And How They Are Classified?
Pagination is the handling of an unordered list by bootstrap. To handle pagination bootstrap provides following classes
.pagination:
To get pagination on your page you have to add this class
.disabled, .active:
Customize links by .disabled for unclickable links and .active to indicate the current page
.pagination-Ig, .pagination-sm:
Use these classes to get different size
What Is The Use Of Jumbotron In Bootstrap?
In bootstrap, Jumbotron is generally used for content that you want to highlight like some slogan or marketing headline etc. in other words it is used to enlarge the size of the headings and to add a margin for landing page content
To use the Jumbotron in Bootstrap
Create a container
with the class of .jumbotron
In Bootstrap What Are The Two Ways You Can Display The Code?
In bootstrap you can display code in two ways
tag: If you are going to display code inline, you should use
tag
tag: If you want to display the code as a standalone block element or it has multiple lines then you should use
tag
Explain What Are The Steps For Creating Basic Or Vertical Forms?
The steps for creating basic or vertical forms are
Add a role form to the parent