Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions READme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Just a READme text file of a shopping cart
52 changes: 51 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,56 @@
<link href="css/custom.css" rel="stylesheet">
</head>
<body>

<div class="container">

<div class="row">
<h1>Shopping Cart</h1>
<div class="col-12">
<table class="table table-responsive">
<thead>
<tr>
<th scope="col">Item</th>
<th scope="col">Price ($)</th>
<th scope="col">Quantity</th>
<th scope="col">Total Price ($)</th>
</tr>
</thead>
<tbody>
<tr>
<td class='item'><input type="text" value="Salmon"/></td>
<td class="price"><input type="number" value="50"></td>
<td class="qty"><input type="number" value="2"></td>
<td class="totalPrice"></td>
<td><button class="btn btn-light btn-sm remove">Remove</button></td>
</tr>
<tr>
<td class='item'><input type="text" value="Apple"/></td>
<td class="price"><input type="number" value="2"></td>
<td class="qty"><input type="number" value="10"></td>
<td class="totalPrice"></td>
<td><button class="btn btn-light btn-sm remove">Remove</button></td>
</tr>
<tr>
<td class='item'><input type="text" value="Steak"/></td>
<td class="price"><input type="number" value="40"></td>
<td class="qty"><input type="number" value="4"></td>
<td class="totalPrice"></td>
<td><button class="btn btn-light btn-sm remove">Remove</button></td>
</tr>
</tbody>
</table>
</div>
<div class="col-12">
<h1>Total Cost:</h1>
</div>
<div class="col-12">
<h1 class="total">$</h1>
</div>
</div>
</div>

<tbody>

</tbody>
</body>
</html>