Bootstrap Interview | Webneed | Indoscie Infotech

Bootstrap Interview : Webneed | Indoscie Infotech is Web Design and Development, SEO, PPC, Local Listing, Adwords, E-mail Marketing, Digital Marketing service and solutions providers at a very affordable cost. Our most of the work is dedicated to Robotics Center Development in India, Charity & Donations.Our Special Attention Here to --> Donate to save the life of peoples [ Fund Raiser non-profitable organization | Ketto Org ]. & Milaap [ Crowd Funding Platform ]

Bootstrap Interview


Most Frequently Asked Bootstrap Interview Questions:

 

Here, in this article, we have included a list most popular interview questions and answers for cracking Bootstrap interview.

 

This will help to crack the interview for both Experienced as well as Fresher candidates.

 

Let's go!!

Given below is a list of most frequently asked Bootstrap interview questions.

 

Q #1) Define Bootstrap.

 

Answer: Bootstrap is a front-end framework that is used for creating HTML, CSS, and JS web applications. Its layout is very responsive, easy and fast to use. It mostly focuses on building a mobile application
with having design templates for creating UI like Dropdown, Forms, Buttons, Alerts Tab, etc.

 

Q #2) Why Bootstrap is used for Mobile Web Development?

 

Answer: It is used for Mobile Web development because it has responsive designs and templates which is easy to use.

 

Q #3) Explain the features of Bootstrap.

 

Answer: Its Features include:

 

Open Source for use

Compatibility with all browsers.

Responsive designs

Easy to use and fast.

Q #4) Define the key components of Bootstrap.

 

Answer: Its components include:

 

Scaffolding – It has the grid
system, background, styles.

JS Plugins – Contains JS and jQuery plugins.

Customize – Can customize frameworks.

CSS – Contains CSS files.

Q #5) What do you understand by Bootstrap container?

 

Answer: Bootstrap container behaves like a container where you can put HTML code and it is a part within the page where the content of the site can be placed to make it responsive and fast.

 

Q #6) What do you mean by Bootstrap Classloader?

 

Answer: Bootstrap class loader is a part of java and a main parental class of class loader.

 

Q #7) How many types of layouts are there in
Bootstrap?

 

Answer: There are two types of layouts in Bootstrap.

 

They are:

 

Fluid Layout

Fixed Layout

Q #8) Define Fluid Layout.

 

Answer: Fluid Layout is useful when you need to make an app which involves the full width of the screen i.e. Fluid Layout adjusts itself according to the browser size.

 

Q #9) Define Fixed Layout.

 

Answer: Fixed layout is responsive and easy to use but just like the fluid layout, it cannot adjust itself according to the browser size. Fixed Layout should be 940 px in most cases.

 

Q #10) How can you display a code in
Bootstrap?

 

Answer: You can display the code in two ways i.e. by using the <code>tag and by using the <pre>tag.

Bootstrap Interview

Q #11) When will you use <code>tag and <pre>tag?

 

Answer: <code>tag is used to show the code inline and <pre>tag is used to show code with multiple lines.

 

Q #12) What is a progress bar in bootstrap?

 

Answer: Progress bar is used with HTML tag style in HTML element using <progress> keyword. In bootstrap we used html5 <progress> with CSS classes that have special features in bootstrap, that is only made for the progress bar.

 

Q #13) Name the contextual classes that are used with the progressive bar in bootstrap.

 

Answer: The contextual classes used with progressive
bar are as follows.

 

Progress-success

Progress-info

Progress-warning

Progress-danger

Q #14) What are responsive utility classes in Bootstrap?

 

Answer: Responsive utility classes in bootstrap are a set of classes which are used to conceal or exhibit the HTML elements based on screen resolution that discerns by media query in bootstrap.

 

Example: “hidden-md-down”, It hides

 

Q #15) What are the different button styles in Bootstrap?

 

Answer: In bootstrap there are seven styles which we can use with the bootstrap
button.

 

.btn-default.

.btn-primary

.btn-success

.btn-info

.btn-warning.

.btn-danger.

.btn-link.

Q #16) What are Bootstrap alerts?

 

Answer: This is used to create presume alert messages, which adds style to the messages to look more noticeable to the user.

 

There are four classes in alerts i.e .alert-success, .alert-info, .alert-warning, .alert-danger.

 

Q #17) Define Bootstrap thumbnails.

 

Answer: It is a way to use the layout images, videos, text etc. in a grid system. We can create thumbnails by adding a tag with the class .thumbnails around the
image.

 

This will add four pixels of padding and a grey border.

 

Q #18) Explain Modal plugin in Bootstrap.

 

Answer: A model is an inherited window that is layered over its parent window. This is used to augment the user experience and adds different functionalities to the users.

 

Model windows are created with the help of the modal plugin.

 

Q #19) Which class is used for pagination in Bootstrap?

 

Answer: To add pagination on the webpage we have to use the class .pagination.

 

Q #20) Explain what is Bootstrap collapsing elements.

 

Answer: It allows you
to collapse any particular element without using any JavaScript code.

 

To use this feature in bootstrap you have to add data-toggle=” collapse” to the controller element along with a data target to automatically assign the control of a collapsible element. We can use this by writing .collapse(options) etc.

 

Bootstrap Interview

Q #21) What is Bootstrap Well?

 

Answer: Bootstrap well is a form of container which thrives or makes the content to look recessed on the web page. It also wraps the content by using .well class.

 

Q #22) Explain the uses of carousel plugin in Bootstrap.

 

Answer: Carousel plugin in bootstrap is used to make sliders in the web pages or your site. There are several carousel plugins that are used in bootstrap to display large contents within a small space by adding sliders.

 

Example: .carousel(options), .carousel(‘pause’), .carousel(cycle’), .carousel(‘prev’), .carousel(‘next’).

 

Q #23) What
will be the output of the below code and why?

 

<div class="progress">

<div class="progress-bar progress-bar-success" style="width: 65%">

<span class="sr-only">75% successfully completed</span>

</div>

<div class="progress-bar progress-bar-warning" style="width: 20%">

<span class="sr-only">30% completed with warnings</span>

</div>

<div class="progress-bar progress-bar-danger" style="width: 15%">

<span class="sr-only">15% did not complete</span>

</div>

</div>

Answer: If we place multiple bars with the same .progress parent
element, Bootstrap will pile them into one single progress bar. As we know, in bootstrap the sum of the progress bar is 100 %. So, the progress bar will give the result as full width and fully populated.

 

Q #24) How can we customize links of pagination in Bootstrap?

 

Answer: We can customize the links by using .disabled for unclickable links and .active for indicating the current page.

 

Q #25) Explain input group in Bootstrap.

 

Answer: Input group in bootstrap are put out from controls. By using an input group, we can easily add prepended and appended text or button to the text-based inputs.

 

We can
prepend and append elements to a .form-control by taking all the elements in a <div> under a class .input-group. After that, place your extra content inside a <span> in same <div> by using class .input-group-addon after this you can place the <span> element either before or after the input element.

 

 

Q #26) Write the ways to create a tabbed navigation menu in Bootstrap.

 

Answer: We can create a tabbed navigation by making a basic unordered list with the base class of .nav and after this, we can add class .nav-tabs.

 

Q #27) In Bootstrap, how can you create a pills navigation
menu?

 

Answer: Pills navigation menu in bootstrap is created by making an unordered list at first with the base class of .nav and after this add the class .nav-pills.

 

Q #28) How navbar works in Bootstrap?

 

Answer: In bootstrap, navbar is an eminent feature to make responsive meta component that works as navigation headers for your application and site. In mobile view, navbar collapses and become horizontal as the available viewport width increases.

 

Q #29) How we can create a navbar in Bootstrap?

 

Answer: To create a navbar in a bootstrap at first, we have to add the classes .navbar, .navbar-default to
the <nav> tag. After this, we have to add the role=”navigation” to the above element, and this will help in accessibility.

 

We have added a header class .nav-header to the <div> element, which will include an <a> element with a class navbar brand. From this, we will get a text with a larger size.

 

Q #30) What is Bootstrap breadcrumb?

 

Answer: Bootstrap breadcrumb is an efficient way to show hierarchy-based information for a site. This can show the dates of publishing, categories or tags in a blog. They also tell the user about the current page location within a navigational hierarchy.

 

So we can say
that Bootstrap breadcrumb is simply an unordered list with a class of .breadcrumb.

 

Bootstrap Interview

Q #31) What are labels in Bootstrap?

 

Answer: Bootstrap labels are used for offering counts, tips or other things to provide markup on web pages. To use the label in Bootstrap we use the class .labels&

Bootstrap Interview

Q #43) What are global styles that are used in Bootstrap Default Typography?

 

Answer: In Bootstrap the global default font-size is 14px and the line height is 1.428. The default font changes to Helvetica and Arial are with sans-serif fallback and all these styles are applicable for both body and all paragraphs.

 

Q #44) What will be the output of the below code?

 

<div

class="row">

<div class="col-xs-12 col-md-3">.col-xs-12 .col-md-3</div>

</div>

Answer: The output of this will give the grids for extra small devices as we can see in the snippet col-xs-12 that has been used and it will also
give the grids for desktop devices and above as the class col-md-3 has been used.

 

Q #45) What dependencies does Bootstrap require to work properly?

 

Answer: jQuery is the only dependency that bootstrap requires for working properly and this is only for JavaScript plugins in bootstrap.

 

Q #46) Explain what the below code will do?

 

<a href="#">Home <span class="badge">36</span></a>

Answer: This code will produce a link with an inline badge which will give an important notification to the user like number received, message received or the number of requests etc.

 

Q #46) What
are the two codes that are used for code display in Bootstrap?

 

Answer: The codes are <code> tag and <pre> tag.

 

Q #47) What is the difference between Bootstrap and Foundation?

 

Answer: Bootstrap uses very fewer preprocessors as it supports less and it allows the designing and development for both mobile and desktop. On the other hand, Foundation supports sass processors and it is used only for mobile UI designing.

 

Q #48) What are Glyphicons in Bootstrap?

 

Answer: By this, we can use the icon simply anywhere in your code.

 

<span class=”glyphicon
glyphicon-search”></span>

Q #49) What is a transition plugin in Bootstrap?

 

Answer: It provides simple transition effects like sliding or fading in modals.

 

Q #50) Explain the concept of creating a vertical or basic form in Bootstrap.

 

Answer: For this first we have to add a role form to the parent <form> element then we have to wrap labels and controls in a <div> with class.form-group and then we have to add a class of .form-control to all text url <input>,<textarea> and <select> elements.

 

Conclusion

These interview questions and answers will help you to crack any
Bootstrap interview for fresher as well as experienced level. And these are the most frequent questions that are asked in the interviews.

 

I'm sure that this article would have helped you to understand the basics and advanced level of Bootstrap.

 

We wish you all the best for your interview!!

source: https://www.softwaretestinghelp.com/bootstrap-interview-questions/

Bootstrap Interview