Experiment 2 Record Format
Experiment 2 Record Format
Make the above web application responsive web application using Bootstrap framework.
Aim:
To implement a responsive web application for a shopping cart with registration, login, catalog, and cart
pages using Bootstrap framework.
Objective:
To create a shopping cart web application with registration, login, catalog and cart.
Procedure:
Step 1:
Step 2:
Create a folder and open in VS code.
Step 3:
Create a catalog.html, catalog.js, cart.html , cart.js, login.html, login.js , register.html, register.js and
style.css.
Step 4:
Step 5:
Write all the relevant codes and click on live server or open it in browser by copying path.
Step 6:
Code Snippet:
Catalog.html:
<div class="container-fluid">
</nav>
<div class=" d-flex flex-wrap justify-content-center row row-cols-1 row-cols-sm-2 row-cols-md-3 row-
cols-lg-4">
<h3>Tab</h3>
<p class="description">Electronics</p>
'/images/tab.jpg',
'Tab',
'66970 '
)">Add to cart</button>
</div>
</div>
</footer>
</div>
Cart.html:
<div class="container-fluid">
</nav>
</div>
</footer>
</div>
login.html:
<form>
<label class="">Username:</label>
<label >Password:</label>
</form>
style.css:
img {
height: 120px;
width: 120px;
.individual-products {
background-color: lightcyan;
border-radius: 5px;
}
.cart-img {
height: 80px;
width: 80px;
border-radius: 5px;
.cart-ind-products {
background-color: lightcyan;
Conclusion:
successfully built a responsive web application for a shopping cart using Bootstrap framework in VS
Code.