Q. 1) 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.
Q. 2) 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.
Q. 3) What are the key components of Bootstrap?
The key components of Bootstrap are
· CSS : It comes with plenty of CSS files
· Scaffolding : It provides a basic structure with Grid system , link styles and background
· Layout Components : List of layout components
· JavaScript Plugins: It contains many jQuery and JavaScript plugins
· Customize: To get your own version of framework you can customize your components
Q. 4) 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.
Q. 5) 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
Q. 6) 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.
Q. 7) 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
Q. 8) 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.
Q. 9) 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.
Q. 10) 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 item
Q. 11) 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 <div> with the class of .jumbotron
Q. 12) What is the difference between Bootstrap and Foundation?
Q. 13) In Bootstrap what are the two ways you can display the code?
In bootstrap you can display code in two ways
· <code> tag : If you are going to display code inline, you should use <code> tag
· <pre> tag: If you want to display the code as a standalone block element or it has multiple lines then you should use <pre> tag
Q. 14) 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 <form> element
· Wrap labels and controls in a <div> with class .form-group. To achieve optimum spacing this is needed
· Add a class of .form-control to all texturl <input> , <textarea> , and <select> elements
Q. 15) Explain what is Modal plugin used for in Bootstrap?
A modal is a child window that is layered over its parent window. Using a custom Jquery Plugin, Bootstrap Modal are created. To enrich user experience and to add functionality to users, modal windows are created with the help of Modal plugin.
Q. 16) Explain what is Bootstrap Container?
Bootstrap container is a class which is useful and creates a centred area within the page where our site content can be put within. The advantage of the bootstrap .container is that it is responsive and will place all our other HTML code.
Q. 17) Explain what is Bootstrap collapsing elements?
Bootstrap collapsing elements enables you to collapse any particular element without writing any JavaScript code or the accordion markup. In Bootstrap to apply collapsing elements you have to add data-toggle= “collapse” to the controller element along with a data-target or href to automatically assign control of a collapsible element. Likewise, you can use .collapse (options), .collapse (‘show’) or .collapse (‘hide’)
Q. 18) Explain what is list group in Bootstrap and what is the use of it?
List groups are components to display both simple and complex element with custom content
For example, a simple list group is created using class .list-group to address the list, and class .list-group-item to address individual item.
Q. 19) How you can add badge to list group in Bootstrap?
To add badge to list group in Bootstrap you have to simply add <span class = “badge”> within the <li> element.
Q. 20) Explain what media object in Bootstrap is and what are their types?
Media objects in Bootstrap enables to put media object like image, video or audio to the left or right of the content blocks. Media element can be created using the class .media and the source is specified in using the class .media-object. Media-objects are of two types,
They are of two types
· .media
· .media-list
Q. 21) Explain what is Bootstrap well?
Bootstrap well is a container <div> that makes the content to appear sunken or an inset effect on the page. In order to create a well, wrap the content that you would like to appear in the well with a <div> containing the class of .well.
Q. 22) Explain how you can create Nav elements in Bootstrap?
Bootstrap offers various options for styling navigation elements all of them use the same markup and base class .nav.
To create Tabular Navigation or Tabs
· Start with a basic unordered list with the base class of .nav
· Then add class .nav-tabs
Q. 23) Explain what is the use of Bootstrap Carousel plugin?
The Carousel plugin is used to add a slider to your site. It is useful in condition where you want to display huge amount of contents within a small space on the web pages. Some of the standard carousel includes
· .carousel (options)
· .carousel (‘cycle’)
· .carousel (‘pause’)
· .carousel (‘number’)
· .carousel (‘prev’)
· .carousel (‘next’)
Q. 24: Who developed the Bootstrap?
Mark Otto and Jacob Thornton at Twitter
Q 25: What are the key components of Bootstrap?
· Plenty of CSS files
· Scaffolding
· List of layout components
· JavaScript Plugins
· Customize your components
Q 26: Why Use Bootstrap?
· Easy to use
· Responsive features
· Mobile-first approach
· Browser compatibility
· Fluide & Fixed Layout available
Q 27: From where we can download the Bootstrap?
Q 28: Can we include bootstrap CDN instead of download the Bootstrap?
Yes sure, we can do from following
<!-- Latest compiled and minified CSS -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"></link>
Q 29: What is class loaders in Bootstrap?
Class loader is a part of Java Runtime Environment which loads Java classes into Java virtual environment.
Q 30: What are different types of layout available in Bootstrap?
· Fluid Layout
· Fixed Layout
Q 31: What is Fluid Layout in Bootstrap?
Fluid layout adapts itself to different browser. Means design automatic adjust according to browser size.
Q 32: What is Fixed Layout in Bootstrap?
Fixed layout doesn't adapts itself to different browser but it can be responsive.
Q 33: What is responsive layout?
Responsive layout which is able to adapt itself to different sizes as well, but when resizing, the number of columns changes according to the available space.
Q 34: What is difference between Fluid Layout and responsive Layout?
Fluid layout adapts itself to different browser window sizes, all the values used are calculated proportionally to the viewport size, so when resizing, all the columns are resized.
Responsive layout is able to adapt itself to different sizes as well. When resizing, the number of columns changes according to the available space.
Q 35: What function you can use to wrap a page content?
.container
Q 36: How to classified pagination in bootstrap?
Add class "pagination" on your page for pagination.
.disabled, .active are available
.pagination-Ig, .pagination-sm to get different sizes
Q 37: What is Jumbotron?
Jumbotron is used for content that you want to highlight like some slogan OR marketing headline.
Q 38: What to display code in bootstrap?
you can use following tags
<code></code>
Q 39: What is Modal plugin used for in Bootstrap?
Modal Plugin is a child window that is layered over its parent window
Q 40: What is Bootstrap Container in Bootstrap?
Bootstrap container is a class which is useful and creating a centred area in the page for display.
Q 41: What is Bootstrap collapsing elements?
Bootstrap collapsing elements enables you to collapse any element without using external JavaScript.
Q 42: How to add badge to list group in Bootstrap?
<span class="badge"></span> in LI Tag
Q 43: What is Media Object?
Media objects in Bootstrap enables to put media object like image, video or audio
Q 44: What are different types of Media Object?
.media
.media-list
Q 45: What is Bootstrap well?
Bootstrap well is a container which makes the content to appear sunken.
Q 46: What are current Stable version of Bootstrp
Version: 3.3.7, Dated: July 25, 2016
Q 47: In Which language Bootstrap is written?
HTML, CSS, LESS, Sass and JavaScript