-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDiscount-Calculator.html
32 lines (28 loc) · 1.29 KB
/
Discount-Calculator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Calculator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body class="border-black ">
<div class="container bg-danger rounded-4 text-bg-primary text-center w-50 ">
<h2>Discount Calculator</h2>
</div>
<div>
<form action="/action_page.php" class="container w-50">
<div class="mb-3 mt-3">
<label class="form-label "><b>Please Enter Amount:</b></label>
<input type="number" class="form-control rounded-5" id="amount" placeholder="Please enter amount...">
</div>
<div class="mb-3">
<label class="form-label"><b>Please Enter Discount Percentage:</b></label>
<input type="number" class="form-control rounded-5" id="discount" placeholder="Enter discount percentage... ">
</div>
<button type="submit" class="btn btn-primary text-light rounded-5">Total Amount After Discount</button>
</form>
</div>
</body>
</html>