Introduction to Bootstrap
Bootstrap is a free and open-source front-end framework used to build responsive, mobile-first websites quickly. It was created by developers at Twitter in 2011 and is now one of the most popular tools for web design in the world.
In simple words, Bootstrap is a big collection of ready-made CSS and JavaScript. Instead of writing every style yourself, you add short class names such as btn, card or container to your HTML, and the design appears.
Why Do We Need Bootstrap?
Writing CSS from scratch for every button, menu and layout takes a lot of time. Also, making a page look good on a phone, a tablet and a laptop is hard. Bootstrap solves these problems.
- Saves time: ready-made components such as navbars, modals, cards and forms
- Responsive by default: your page adjusts to every screen size
- Consistent design: every element looks clean and matching
- Works in all modern browsers: Chrome, Edge, Firefox, Safari
- Easy to learn: you only need basic HTML and CSS knowledge
- Huge community: thousands of tutorials, themes and templates
What Does Bootstrap Contain?
| Part | What it gives you |
|---|---|
| Grid system | A 12-column layout system for arranging content |
| Typography and utilities | Ready classes for text, colors, spacing, borders and more |
| Components | Buttons, cards, navbar, modal, carousel, accordion, dropdown |
| Forms and tables | Beautiful inputs, validation styles and tables |
| JavaScript plugins | Interactive features like modals, tooltips and carousels |
| Sass and CSS variables | Easy customization of colors and sizes |
A Quick Look: Without and With Bootstrap
Here is a simple button. Without Bootstrap it looks like a plain gray button:
Now add one Bootstrap class:
The button turns into a blue, rounded button with padding and a hover effect. One class changed everything.
Bootstrap Versions
Bootstrap has gone through several versions. This course teaches Bootstrap 5, the modern version, which no longer needs jQuery and has better utilities, forms and dark mode support.
| Version | Notes |
|---|---|
| Bootstrap 3 | Old, flat design, still seen on very old sites |
| Bootstrap 4 | Flexbox based, needed jQuery |
| Bootstrap 5 | Current version family (5.3.x). No jQuery, color modes, CSS variables |
Who Uses Bootstrap?
- Students building their first websites
- Freelancers who need to deliver projects fast
- Startups creating quick prototypes (MVPs)
- Companies building admin panels and dashboards
What You Need Before Starting
- Basic HTML (tags, attributes, links, images)
- Basic CSS (colors, margin, padding)
- A code editor such as VS Code and a web browser
Conclusion
Bootstrap helps you build beautiful, responsive websites in less time. In the next lessons you will install it, create your first page and slowly learn every important part.

