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

Зміст курсу

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.

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 2
some-alt