Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Installing via CDN | Setting Up Environment
Bootstrap Essentials for Modern Websites
course content

Course Content

Bootstrap Essentials for Modern Websites

Bootstrap Essentials for Modern Websites

1. Understanding Bootstrap
2. Setting Up Environment
3. Basic Concepts
4. Advanced Concepts
5. Creating a Portfolio Website with Bootstrap

book Installing via CDN

When working on a vanilla HTML, CSS, and JS project, we can use a CDN to include Bootstrap's CSS and JavaScript files directly into the HTML document without downloading them to the local machine.

Here's how we can include Bootstrap via CDN in the HTML file:

Behavior Difference

In the examples below, we will demonstrate the difference between default browser styles and styles applied with Bootstrap. We will not focus on Bootstrap usage at this time.

Default Browser Styles

html

index

css

index

js

index

copy

Styles Applied with Bootstrap

html

index

css

index

js

index

copy

Explanation

Both examples feature a button element adorned with the classes btn and btn-primary. The appearance is accomplished solely by applying these two classes provided by Boostrap without the need for additional CSS styling.

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 2
We're sorry to hear that something went wrong. What happened?
some-alt