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 quickly create adaptive websites and web applications. 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 still use today.

Bootstrap uses:

  • Components - a set of ready-made blocks that can be used 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 quickly 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 is used 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 web view. It’s a good idea to do more than just complete the task. Once you’ve completed the task successfully, 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 in the assignments to practice. They’ll also have examples of code that you can take a look at or just 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 always updated quickly with each new version of the framework. We recommend keeping it with you at all times.


As well as the documentation, Bootstrap can also be found on GitHub. The framework is open to users. There are many functions and mixins in the code, which you can use to create your own 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 Designer icon
Under development beginner
Layout with the latest CSS standards
start anytime 5 months

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.