-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshop.html
62 lines (55 loc) · 1.83 KB
/
shop.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shop</title>
<link
href="https://getbootstrap.com/docs/5.3/assets/css/docs.css"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<nav>
<center>
<a href="index.html"><button>HOME</button></a>
<a href="gallery.html"><button>GALLERY</button></a>
<a href="about.html"><button>ABOUT</button></a>
<a href="shop.html"><button>SHOP</button></a>
</center>
</nav>
<h1 id="cartHeader">Check your Cart</h1>
<p id="cartParagraph">Is there something in your cart?</p>
<center><button id="cartButton">Check</button></center>
<script src="shop.js"></script>
<br />
<br />
<h1>Calculate the tax!</h1>
<p>How much is the sales tax on the item in your cart?</p>
<p id="priceParagraph"></p>
<p id="percentageParagraph"></p>
<p id="taxParagraph"></p>
<center><button id="calculateButton">Calculate Here!</button></center>
<script src="shop.js"></script>
<br />
<br />
<h1>Return statement</h1>
<p id="myText"> Price plus 10% Tax = ?</p>
<center><button id="totalButton">For Total Click Here</button></center>
<script src="shop.js"></script>
<br>
<br>
<h1>If statements..</h1>
<p id="myText">Name that song..</p>
<center><button id="song">Click Here</button></center>
<script src="shop.js"></script>
</body>
</html>