Course Content
Bootstrap: Building Stylish Websites
1. Understanding Bootstrap
2. Setting Up Environment
4. Advanced Concepts
Bootstrap: Building Stylish Websites
Building the Experience Section
1. Create the Experience Section
Design a section below the hero section to showcase your job experiences or projects. Utilize Bootstrap's grid system to create a responsive layout.
Code Description
-
Section with ID:
<section>
tag with the IDexperience
defines a section of the webpage dedicated to showcasing job experiences or projects. -
Experience Section Styling: Class
py-5
adds padding to the top and bottom of the section to create spacing. -
Container:
<div>
with the class container is used to contain the content within a responsive layout. -
Section Title:
-
<h2>
tag with classesh2
,text-center
,fs-2
, andtext-primary
displays the section title "Job Experience" in a large, centered heading with primary text color. -
Class
mb-5
adds margin to the bottom of the heading for spacing.
-
-
Job Experience Cards:
<div>
with classrow
and its child<div>
with classcol-md-4
create a responsive grid layout for job experience cards or project thumbnails. -
Job Experience Card:
-
<div>
with classcard
represents each job experience or project entry. -
<div>
with classcard-body
contains the content of the card. -
<h5>
tag with classcard-title
displays the title of the job experience. -
<p>
tag with classcard-text
provides a description of the job experience or project.
-
2. Add Job Experience Cards or Project Thumbnails
Within the row
class, add job experience cards or project thumbnails to showcase your experiences or projects. Customize the content of each card with relevant details such as job titles, descriptions, and additional information.
Result
index.html
index.css
index.js
Everything was clear?
Course Content
Bootstrap: Building Stylish Websites
1. Understanding Bootstrap
2. Setting Up Environment
4. Advanced Concepts
Bootstrap: Building Stylish Websites
Building the Experience Section
1. Create the Experience Section
Design a section below the hero section to showcase your job experiences or projects. Utilize Bootstrap's grid system to create a responsive layout.
Code Description
-
Section with ID:
<section>
tag with the IDexperience
defines a section of the webpage dedicated to showcasing job experiences or projects. -
Experience Section Styling: Class
py-5
adds padding to the top and bottom of the section to create spacing. -
Container:
<div>
with the class container is used to contain the content within a responsive layout. -
Section Title:
-
<h2>
tag with classesh2
,text-center
,fs-2
, andtext-primary
displays the section title "Job Experience" in a large, centered heading with primary text color. -
Class
mb-5
adds margin to the bottom of the heading for spacing.
-
-
Job Experience Cards:
<div>
with classrow
and its child<div>
with classcol-md-4
create a responsive grid layout for job experience cards or project thumbnails. -
Job Experience Card:
-
<div>
with classcard
represents each job experience or project entry. -
<div>
with classcard-body
contains the content of the card. -
<h5>
tag with classcard-title
displays the title of the job experience. -
<p>
tag with classcard-text
provides a description of the job experience or project.
-
2. Add Job Experience Cards or Project Thumbnails
Within the row
class, add job experience cards or project thumbnails to showcase your experiences or projects. Customize the content of each card with relevant details such as job titles, descriptions, and additional information.
Result
index.html
index.css
index.js
Everything was clear?