Register to get access to free programming courses with interactive exercises

Introduction Bootstrap 5: Layout basics

In this course, we’ll get to know the Bootstrap layout framework. It makes it possible to create adaptive websites and web applications quickly. Introduced within Twitter in 2011, it quickly gained popularity among developers of other applications and sites. As it evolved, Bootstrap brought many techniques and components that companies use today.

Bootstrap uses:

  • Components — a set of ready-made blocks we can use in projects. These can be custom messages, menus, cards, and so on. The components use a neutral, out-of-the-box design that allows you to start using them within projects

  • Utilities — a set of classes for specifying CSS styles. These classes are similar in concept to Atomic CSS

  • One of Bootstrap’s key benefits is the grid. This ready-made grid helps to line up the blocks on the page when using Bootstrap

The course will cover:

  • Connecting Bootstrap to a project

  • Using the grid

  • Working with text, tables, and forms

  • Creating an adaptive page

  • The structure of components and utilities


Many of the lessons in this course will include a practice section with a web view. It’s a good idea to do more than the bare minimum. Once you’ve completed the task, try experimenting with the code and the features you’ve learned.

During the course, you’ll come across independent assignments. If necessary, you can use the tasks to practice. They’ll also have code examples for you to look at or study.


The Bootstrap framework has some of the best documentation of its kind. You can use it to explore in detail all possible components and utilities. The documentation is updated quickly with each new version of the framework. We recommend keeping it with you at all times.


As well as the documentation, we can find Bootstrap on GitHub. The framework is open to users. There are many functions and mixins that you can use to create your components.

Recommended materials

  1. Bootstrap 5.1 documentation
  2. Bootstrap source code on GitHub

Hexlet Experts

Are there any more questions? Ask them in the Discussion section.

The Hexlet support team or other students will answer you.

About Hexlet learning process

For full access to the course you need a professional subscription.

A professional subscription will give you full access to all Hexlet courses, projects and lifetime access to the theory of lessons learned. You can cancel your subscription at any time.

Get access
hours of theory

Sign up

Programming courses for beginners and experienced developers. Start training for free

  • 130 courses, 2000+ hours of theory
  • 1000 practical tasks in a browser
  • 360 000 students
By sending this form, you agree to our Personal Policy and Service Conditions

Our graduates work in companies:

<span class="translation_missing" title="translation missing:">Bookmate</span>
<span class="translation_missing" title="translation missing:">Healthsamurai</span>
<span class="translation_missing" title="translation missing:">Dualboot</span>
<span class="translation_missing" title="translation missing:">Abbyy</span>
Suggested learning programs
Layout with the latest CSS standards
5 months
from scratch
under development
Start at any time

Use Hexlet to the fullest extent!

  • Ask questions about the lesson
  • Test your knowledge in quizzes
  • Practice in your browser
  • Track your progress

Sign up or sign in

By sending this form, you agree to our Personal Policy and Service Conditions
Toto Image

Ask questions if you want to discuss a theory or an exercise. Hexlet Support Team and experienced community members can help find answers and solve a problem.