Bootstrap 4 Quick Start: Certification Exam

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Jacob Lett
J
Jacob Lett
Community Contributor
Quizzes Created: 2 | Total Attempts: 11,976
| Attempts: 3,129 | Questions: 50
Please wait...
Question 1 / 50
0 %
0/100
Score 0/100
1. The Bootstrap grid system is based on how many columns?

Explanation

The Bootstrap grid system is based on 12 columns. This means that the layout of a webpage can be divided into 12 equal-width columns, allowing for easy and flexible positioning of elements. By using the grid system, developers can create responsive designs that automatically adjust to different screen sizes and devices. The 12-column grid system is a widely used standard in web development and provides a solid foundation for building responsive and visually appealing websites.

Submit
Please wait...
About This Quiz
Bootstrap 4 Quick Start: Certification Exam - Quiz

Want to test your knowledge of Bootstrap 4 and responsive design basics?
In this 50 question exam, you will be tested on the features of Bootstrap 4. It covers the grid, flexbox, and how to setup a basic layout using components.
In addition, you will be tested on responsive we... see moredesign basics to make sure you understand how Bootstrap 4 applies these fundamentals.
How well do you know Bootstrap 4? Are you up for the challenge?
Learn more about Bootstrap: https://bootstrapcreative. Com/shop/bootstrap-quick-start/ see less

Personalize your quiz and earn a certificate with your name on it!
2. A big challenge with responsive design is finding a balance between the content needs for both mobile and desktop. A desktop site has a lot of visual real estate that is often filled with carousels, videos, large parallax background images, and large blocks of text.

Explanation

Responsive design aims to provide an optimal viewing experience across different devices and screen sizes. One of the challenges in achieving this is finding a balance between the content needs for both mobile and desktop. Desktop sites typically have more space to accommodate elements like carousels, videos, parallax background images, and large blocks of text. Therefore, the statement that a big challenge with responsive design is finding a balance between the content needs for both mobile and desktop is true.

Submit
3. What does CSS stand for?

Explanation

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in HTML. It is responsible for the visual appearance of web pages, including layout, colors, fonts, and other design elements. CSS allows web designers to separate the structure and content of a webpage from its presentation, making it easier to maintain and update the design across multiple pages.

Submit
4. What are the main differences between ID and Class

Explanation

The main difference between ID and Class is that IDs are meant to be used only once per page, while classes can be used multiple times. Additionally, an element can have more than one class, but it should have only one ID. This is because IDs are used to uniquely identify an element, while classes are used to group multiple elements together. Therefore, the statement that IDs are supposed to be used only once per page and classes can be used multiple times per page, and an element can have more than one class but should have only one ID, accurately describes the main differences between ID and Class.

Submit
5. The initial intent of Bootstrap was to be a living style guide documentation for a team of Twitter developers to code in the same way following a set of pre-defined rules and components.

Explanation

Bootstrap was indeed initially created as a living style guide documentation for a team of Twitter developers. The purpose was to ensure consistency in coding by following a set of predefined rules and components. This allowed the developers to work together more efficiently and maintain a cohesive design language throughout their projects.

Submit
6. What class name would you make a full width container in Bootstrap?

Explanation

The correct class name to make a full width container in Bootstrap is ".container-fluid". This class is specifically designed to create a container that spans the full width of the viewport, adapting to different screen sizes and resolutions. Using this class ensures that the container will always fill the entire width of the screen, providing a responsive layout.

Submit
7. What are the three main parts of a CSS ruleset?

Explanation

The correct answer is "selector {property: value}". In a CSS ruleset, the selector specifies which HTML elements the rule applies to, while the property defines the specific CSS property being modified, and the value is the new value assigned to that property.

Submit
8. A mobile first approach considers the goals of a mobile user and presents the content to help them achieve those goals. It removes all of the fluff and filler content and presents a concise collection of content that loads fast and is easy to use.

Explanation

A mobile first approach focuses on prioritizing the needs and objectives of mobile users. It eliminates unnecessary content and presents a streamlined collection of information that is optimized for fast loading and user-friendly navigation. This approach recognizes the importance of mobile devices in today's digital landscape and ensures that the mobile user experience is seamless and efficient.

Submit
9. If you want to have 3 equal columns in Bootstrap, which class would you use?

Explanation

The correct answer is .col-md-4. This class is used in Bootstrap to create a column that spans 4 grid columns out of a total of 12 grid columns in a medium-sized screen. By using this class, you can divide the screen into 3 equal columns, as each column will take up 4 grid columns.

Submit
10. What are the three main elements of the Bootstrap grid listed in the proper order.

Explanation

The correct answer is CRC = .container > .row > .col. In Bootstrap grid system, the container is used to contain and center the content. The row is used to create horizontal groups of columns. And the col is used to define the columns within a row. The proper order of these elements is container, row, and then col.

Submit
11. What classes are needed to create this?

Explanation

The correct answer is class="alert alert-info". This class is needed to create a specific type of alert message with an information or informational content. The "alert" class is used to create an alert box, and the "alert-info" class is specifically used to style the alert box with a blue color to indicate an informational message.

Submit
12. Cards replace panels, thumbnails, and wells used in Bootstrap 3 and are essentially a contained group of content with a border and inner padding.

Explanation

Cards in Bootstrap 3 serve as a replacement for panels, thumbnails, and wells. They are designed to contain a group of content within a border and inner padding. This means that cards provide a structured and visually appealing way to display content on a webpage. Therefore, the statement that cards replace panels, thumbnails, and wells used in Bootstrap 3 is true.

Submit
13. What do these spacing utility classes do to this headline?
<h1 class="p-0 p-md-4 p-lg-0">Headline</h1>
 

Explanation

The spacing utility classes in the given code will result in 0 padding on all breakpoints, except for the md breakpoint where it will have a padding value of 4. The p-0 class will override all other classes and set the padding to 0 on all breakpoints. However, the p-md-4 class will then add a padding value of 4 specifically for the md breakpoint. The p-lg-0 class will stop the padding from flowing to the lg and xl breakpoints, effectively canceling out any padding on those breakpoints.

Submit
14. What is this component called and what class does it use?
<div class="[class]" role="group" aria-label="Basic example">
  <button type="button" class="btn btn-secondary">Left</button>
  <button type="button" class="btn btn-secondary">Middle</button>
  <button type="button" class="btn btn-secondary">Right</button>
</div>

Explanation

This component is called a "Button Group" and it uses the class ".btn-group".

Submit
15. Bootstrap is a back-end web framework

Explanation

Bootstrap is not a back-end web framework but a front-end framework. It is used for designing and developing responsive and mobile-first websites. It provides a collection of CSS and JavaScript components that can be easily implemented in web pages to create a visually appealing and user-friendly interface.

Submit
16. How is the .container-fluid class different from the .container class?

Explanation

The .container-fluid class is different from the .container class because it allows the container to expand the full width of the browser. This means that the container will stretch to fill the entire width of the browser window, without any horizontal padding. This is in contrast to the .container class, which has a fixed width and adds horizontal padding to the container.

Submit
17. The data attribute data-ride="carousel" , is used to mark a carousel as animating starting at page load.

Explanation

The data attribute "data-ride" is used to mark a carousel as animating starting at page load. This means that when the page loads, the carousel will automatically start animating without any user interaction.

Submit
18. In Bootstrap 4, 1rem = _____ ?

Explanation

In Bootstrap 4, 1rem is equal to 16px. This means that if we set the font-size of an element to 1rem, it will be displayed with a font size of 16 pixels. Rem stands for "root em" and is a unit of measurement that is relative to the font-size of the root element (usually the element). Therefore, 1rem will always be equal to the font-size defined for the root element, which is typically set to 16px in Bootstrap 4.

Submit
19. The .form-group class is the easiest way to add some structure to forms. Its only purpose is to provide margin-bottom around a label and form control pairing.

Explanation

The .form-group class is used to add structure to forms by providing margin-bottom around a label and form control pairing. It helps in visually organizing and separating form elements, making them easier to read and understand. This class is specifically designed for this purpose and does not have any other functionality. Therefore, the statement "The .form-group class is the easiest way to add some structure to forms. Its only purpose is to provide margin-bottom around a label and form control pairing." is true.

Submit
20. Who created Bootstrap?

Explanation

Mark Otto and Jacob Thornton created Bootstrap.

Submit
21. In Adaptive Design, you build multiple versions of a website and use server side detection to then present custom code for that device or viewport size. Often having another domain just for your mobile experience like, m.domain.com

Explanation

In Adaptive Design, multiple versions of a website are created and custom code is presented based on the device or viewport size using server side detection. This approach often involves having a separate domain, such as m.domain.com, specifically for the mobile experience. Therefore, the statement "True" is correct.

Submit
22. What class name would replace the asterisks in the code block below?
<div class="*">
  <img class="*-img-top" src="" alt="image">
  <div class="*-block">
    <h4 class="*-title">Card title</h4>
    <p class="*-text">Copy</p>
    <a href="#" class="btn btn-primary">Link</a>
  </div>
</div>

Explanation

The class name "card" would replace the asterisks in the code block.

Submit
23. What is this called?

Explanation

This is called a dropdown because it is a type of user interface element that allows users to select one option from a list of choices that are hidden until the user clicks or hovers over the dropdown.

Submit
24. Which grid layout below is using Bootstrap 4 with flexbox?

Explanation

The correct answer is "Container > Row > Col". This layout structure is commonly used in Bootstrap 4 with flexbox. The "Container" class sets the maximum width of the layout and centers it on the page. The "Row" class is used to create horizontal rows within the container. The "Col" class is used to create columns within the rows, allowing for flexible and responsive layouts. The combination of these classes and the use of flexbox makes this grid layout the correct answer.

Submit
25. For each Bootstrap 4 grid row, the  number of columns has to equal _____

Explanation

For each Bootstrap 4 grid row, the number of columns has to equal 12. This means that the grid system in Bootstrap 4 is divided into 12 equal columns, and when creating a row, the total number of columns within that row should be 12. This allows for flexible and responsive layouts, as the columns can be easily adjusted and rearranged based on different screen sizes and devices.

Submit
26. Which of the following constraints do web designers and developers have to work with in responsive design?

Explanation

Web designers and developers have to work with various constraints in responsive design. These include smaller screens, increased pixel densities with retina displays, the ability to switch between portrait and landscape orientation, multi-touch gestures, slower data connections, and distracted user attention. All of these factors need to be taken into consideration when designing and developing websites to ensure that they are responsive and provide a good user experience across different devices and scenarios.

Submit
27. The global font size was changed from 14px to 20px.

Explanation

*##*Correct. It was changed to 16px*##*

Submit
28. What happens if your grid columns use just the .col class?
<div class="container">
	<div class="row">
		<div class="col">
			Column
		</div>
		<div class="col">
			Column
		</div>
	</div>
</div>

Explanation

The grid columns in this example will automatically layout with equal widths because they are using the ".col" class without any specified breakpoint width. This means that each column will take up 50% of the container's width, resulting in a 50%/50% layout.

Submit
29. What class name would I add to this image tag in order to make it responsive?
<img src="image.png" alt="image" class="" />

Explanation

The class name ".img-fluid" would be added to the image tag in order to make it responsive.

Submit
30. Each class name begins with a prefix. Class name prefixing makes Bootstrap code more durable and easier to maintain, but it also better enables us to scope styles to only the relevant elements. What is another name for these elements or group of elements?

Explanation

Class name prefixing in Bootstrap is used to scope styles to only the relevant elements. These relevant elements are commonly referred to as "components". By prefixing class names, it becomes easier to maintain and modify the styles for these specific components without affecting other elements on the page.

Submit
31. What Bootstrap version should you use if you need to support IE9?

Explanation

Bootstrap 3 should be used if you need to support IE9. This version of Bootstrap is compatible with IE9 and provides the necessary features and functionality for building responsive websites. It includes CSS and JavaScript components that ensure proper rendering and functionality in IE9, making it the appropriate choice for supporting this browser version.

Submit
32. Flexbox is NOT a core CSS technology but a custom named component created by Bootstrap.

Explanation

Flexbox is a core CSS technology that is used for creating flexible and responsive layouts. It is not a custom named component created by Bootstrap. Flexbox provides a set of CSS properties and values that allow developers to easily control the alignment, direction, and ordering of elements within a container. It is widely supported by modern browsers and is commonly used in web development to create dynamic and adaptive designs. Therefore, the statement that Flexbox is a custom named component created by Bootstrap is false.

Submit
33. What does this meta tag do?
<meta name="viewport" content="width=device-width, initial-scale=1">

Explanation

The given meta tag, , prevents browsers from scaling desktop websites on mobile devices. By specifying the "width=device-width" property, it ensures that the website is displayed at the device's actual width, rather than being scaled down to fit the screen. This is important for maintaining the proper layout and design of the website on mobile devices. Additionally, the "initial-scale=1" property sets the initial zoom level to 100%, further preventing any scaling of the website.

Submit
34. Bootstrap is based on reusable ___________ which have base styles, sub item styles, and design variation styles.

Explanation

Bootstrap is a framework that provides a collection of pre-designed and pre-built components. These components are reusable and can be easily integrated into web applications. They include base styles, sub item styles, and design variation styles, making it easier for developers to create consistent and visually appealing user interfaces. Therefore, the correct answer is components.

Submit
35. Fill in the blank: Setting a grid tier of .col-sm-6 says ___________

Explanation

Setting a grid tier of .col-sm-6 says that the div will be 6 columns wide on the sm breakpoint and everything above it. This means that on the sm breakpoint and any larger breakpoints, the div will take up 6 columns of the grid system.

Submit
36. Match the right Bootstrap breakpoint to the correct media query starting point
Submit
37. In Bootstrap, content must be placed within...

Explanation

In Bootstrap, content must be placed within columns. Columns are used to create a grid system in Bootstrap, allowing for the organization and layout of content on a webpage. By placing content within columns, it becomes easier to create responsive designs that adapt to different screen sizes and devices. Rows and containers are also important components in Bootstrap, but the content itself should be placed within columns to ensure proper alignment and structure.

Submit
38. Since the Glyphicons have been removed from Bootstrap 4. What icon libraries would make suitable alternatives?

Explanation

The correct answer is "All of the above". This means that all three icon libraries mentioned - Font Awesome, Octicons, and the upstream version of Glyphicons - would make suitable alternatives to the removed Glyphicons in Bootstrap 4. These libraries provide a wide range of icons that can be easily integrated into web projects.

Submit
39. What is wrong with the classes used in this button code?
<a href="#" class="btn btn-default btn-xs" role="button" aria-pressed="true">Action Link</a>

Explanation

The first two options are correct. In version 4, the class ".btn-default" was renamed to ".btn-secondary". Additionally, the class ".btn-xs" has been removed in version 4, and it is recommended to use ".btn-sm" instead. These changes reflect updates and improvements in the button styling and sizing in the newer version. The last option, stating that the ".btn" class should be ".button", is incorrect as there is no mention of such a change.

Submit
40. What does the .navbar-toggleable-* class do?

Explanation

The .navbar-toggleable-* class sets the breakpoint at which the toggle button will show on the navbar. This means that when the screen size reaches the specified breakpoint, the toggle button will be visible on the navbar, allowing users to toggle the navigation menu.

Submit
41. What was Bootstrap originally named?

Explanation

Bootstrap was originally named "Twitter Blueprint". This is because Bootstrap was developed by a team of Twitter employees and was initially used internally at Twitter. The name "Twitter Blueprint" reflects its origins within the Twitter organization.

Submit
42. What are the two javascript library dependencies Bootstrap 4 needs to work?

Explanation

Bootstrap 4 requires two javascript library dependencies to work, namely jquery-3.1.1.js and tether.js. These libraries provide additional functionalities and support for Bootstrap components and features.

Submit
43. I would like to have an inline list but the code below is not working. What required class is missing on the list items?
<ul class="list-inline">
  <li class="">Lorem ipsum</li>
  <li class="">Phasellus iaculis</li>
  <li class="">Nulla volutpat</li>
</ul>

Explanation

The correct answer is ".list-inline-item". To create an inline list, the list items should have the class "list-inline-item". This class is missing in the given code, which is why the inline list is not working.

Submit
44. What is the correct order of phases for the design process?
Submit
45. What class would make this column centered?
<div class="container">
	<div class="row">
		<div class="col-md-6 [class]">
			Centered column
		</div>
	</div>
</div>

Explanation

The class ".mx-auto" would make this column centered. This class is used in Bootstrap to horizontally center a block-level element within its parent container. It sets the left and right margins of the element to "auto", causing it to be centered. In this case, applying the ".mx-auto" class to the column would center it within the parent container.

Submit
46. What would this class do?
<p class="h1">Heading</p>

Explanation

This class would make the paragraph the same font size as a h1 element.

Submit
47. What are the two main ways you can add Bootstrap to your website? Only select two options

Explanation

The two main ways to add Bootstrap to a website are by linking to a precompiled CSS/JS version via CDN or locally and by linking to a customized build using the Sass source files. The first option allows you to easily include Bootstrap by referencing the CSS and JS files hosted on a content delivery network or by downloading and hosting them locally. The second option gives you more control over the customization of Bootstrap by using the Sass source files and creating a customized build specific to your website's needs.

Submit
48. What is missing from this navbar code in order for it to work? 
<nav class="navbar navbar-toggleable-md navbar-inverse bg-primary">
  <!--  toggle button  -->
  <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNav">
    <span class="navbar-toggler-icon"></span>
  </button>
  <!-- Brand   -->
  <a class="navbar-brand" href="#">Brand</a>
  <!--  Navigation links  -->
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav">
      <li class="nav-item"><a class="nav-link" href="#page-1">Page Link</a></li>
      <li class="nav-item"><a class="nav-link" href="#page-2">Page Link</a></li>
    </ul>
  </div>
</nav>

Explanation

The navbar toggler is missing data attributes to specify what needs to be toggled: data-toggle="collapse" data-target="#navbarNav". These attributes are necessary for the toggler button to work properly and toggle the collapse of the navigation links. Without these attributes, the toggler button will not have any effect on the navbar.

Submit
49. The code block below floats a div on the sm breakpoint and up. How would I rewrite the class if I only wanted it to float on xs? 
<div class="float-sm-left">Float left on viewports sized SM (small) or wider</div>

Explanation

not-available-via-ai

Submit
50. Fill in the blank with the correct .class name: Columns have horizontal padding to create the gutters between individual columns, however, you can remove the margin from rows and padding from columns with _____ class on the .row

Explanation

The correct .class name to remove the margin from rows and padding from columns is .no-gutters. This class can be applied to the .row element in order to eliminate the gutters between individual columns and create a more compact layout.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 19, 2017
    Quiz Created by
    Jacob Lett
Cancel
  • All
    All (50)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
The Bootstrap grid system is based on how many columns?
A big challenge with responsive design is finding a balance between...
What does CSS stand for?
What are the main differences between ID and Class
The initial intent of Bootstrap was to be a living style guide...
What class name would you make a full width container in Bootstrap?
What are the three main parts of a CSS ruleset?
A mobile first approach considers the goals of a mobile user and...
If you want to have 3 equal columns in Bootstrap, which class would...
What are the three main elements of the Bootstrap grid listed in the...
What classes are needed to create this?
Cards replace panels, thumbnails, and wells used in Bootstrap 3 and...
What do these spacing utility classes do to this headline?<h1...
What is this component called and what class does it use?<div...
Bootstrap is a back-end web framework
How is the .container-fluid class different from the .container class?
The data attribute data-ride="carousel" , is used...
In Bootstrap 4, 1rem = _____ ?
The .form-group class is the easiest way to add some structure to...
Who created Bootstrap?
In Adaptive Design, you build multiple versions of a website and use...
What class name would replace the asterisks in the code block...
What is this called?
Which grid layout below is using Bootstrap 4 with flexbox?
For each Bootstrap 4 grid row, the  number of columns has to...
Which of the following constraints do web designers and developers...
The global font size was changed from 14px to 20px.
What happens if your grid columns use just...
What class name would I add to this image tag in order to make it...
Each class name begins with a prefix. Class name prefixing makes...
What Bootstrap version should you use if you need to support IE9?
Flexbox is NOT a core CSS technology but a custom named component...
What does this meta tag do?<meta name="viewport"...
Bootstrap is based on reusable ___________ which have base styles, sub...
Fill in the blank: Setting a grid tier of .col-sm-6 says ___________
Match the right Bootstrap breakpoint to the correct media query...
In Bootstrap, content must be placed within...
Since the Glyphicons have been removed from Bootstrap 4. What icon...
What is wrong with the classes used in this button code?<a...
What does the .navbar-toggleable-* class do?
What was Bootstrap originally named?
What are the two javascript library dependencies Bootstrap 4 needs to...
I would like to have an inline list but the code below is not working....
What is the correct order of phases for the design process?
What class would make this column centered?<div...
What would this class do?<p...
What are the two main ways you can add Bootstrap to your website? Only...
What is missing from this navbar code in order for it to...
The code block below floats a div on the sm breakpoint and up. How...
Fill in the blank with the correct .class name: Columns have...
Alert!

Advertisement