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
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<button
id="addProduct"
onclick="handleAddProduct(this)"
class="btn btn-success"
class="btn btn-outline-success"
>
Add a new Product
</button>
Expand Down Expand Up @@ -101,7 +101,7 @@ <h2>List of Products</h2>
<table class="table table-bordered">
<thead>
<tr>
<th scope="col">No.</th>
<th scope="col">Product ID.</th>
<th scope="col">Product Name</th>
<th scope="col">Product Price</th>
<th scope="col">Number of Products</th>
Expand All @@ -116,7 +116,7 @@ <h2>List of Products</h2>
<hr />
<div class="col-12">
<button class="btn btn-info" onclick="handleCalculateTotal()">
Calculate Total
Calculate Sum
</button>
<button class="btn btn-danger" onclick="handleClearAll()">
Clear All
Expand Down
5 changes: 4 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
body{
background-color: blanchedalmond !important;
}
#productForm {
display: none;
position: absolute;
position: fixed;
}

.error {
Expand Down