Updating an existing e-commerce site
Let’s continue working on the e-commerce site that we presented in previous chapters. In this chapter, we’ll focus on improving the codebase and adding new features.
For reference, let’s show the basket.html
file we’ve started to create:
<!-- a page showing a list of items in a basket, each item should have title, price, quantity, sum and buttons to increase or decrease quantity and the page should have a link to "checkout" at the bottom -->
<html>
<head>
<title>Basket</title>
<link rel="stylesheet" href="css/basket.css">
<!-- add bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<!-- add 3 basket items with each item having id, name, price, quantity, use card css class -->
<!--
...