Module 1 Bootstrap5
Module 1 Bootstrap5
1. Setting Up Bootstrap 5
Exercise 1.1:
Create a basic HTML page and link Bootstrap 5 via CDN.
Exercise 1.2:
Set up a project using npm or downloaded Bootstrap files. Use the downloaded files in a sample
HTML page.
8. Forms
Exercise 8.1:
Create a registration form using Bootstrap form components like form-control, form-check, and
input-group.
Exercise 8.2:
Style a login form using form-floating.
9. Buttons
Exercise 9.1:
Create buttons using all contextual classes: btn-primary, btn-secondary, btn-outline-*, etc.
Exercise 9.2:
Add button groups using btn-group, and create toggle buttons with checkboxes.
Exercise 14.1:
Use d-none, d-md-block, d-lg-flex to hide/show sections based on screen size.
Exercise 14.2:
Create a responsive sidebar that only shows on tablets and above.