-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.html
74 lines (70 loc) · 2.84 KB
/
cart.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
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>STAR FACTOR - My Shopping Cart</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/styles-cart.css"/>
</head>
<body>
<header>
<div class="container"> <!-- START changes to header after this line -->
<logo>Star Factor</logo>
<nav>
<ul>
<li><strong><a class="header__link" href="../index.html">Home</a></strong></li>
<li><a class="header__link" href="community.html">Community</a></li>
<li><a class="header__link" href="tutorials.html">Tutorials</a></li>
<li><a class="header__link" href="contact.html">Contact Us</a></li>
<li><a class="header__link" href="cart.html"><img src="images/cart.png" alt="Go to your shopping cart"></a></li>
</ul>
</nav> <!-- END changes for header -->
</div>
</header>
<section class="hero">
<div class="container"> <!-- START changes for hero header -->
<h1>My Shopping Cart</h1>
<section class="cart">
<header>
<p>Product</p>
<p>Quantity</p>
<p>Price</p>
<p>Subtotal</p>
</header>
<section class="cartItem">
<p class="product" id="product1">Jazz Harmony 1 Tutorial</p>
<form id="product1Quantity">
<input type="number" name="quantity" value="1">
</form>
<p class="price" id="product1price">25.00</p>
<p class="subtotal" id="product1total"></p>
</section>
<footer>
<p>Grand total: <span id="grandTotal"></span></p>
</footer>
</section>
<section id="cartButtons">
<div id="buttons1" >
<a href="/tutorials.html"><button>Back to Tutorials</button></a>
<button onclick="recalculate();">Recalculate</button>
</div>
<div id="buttons2">
<button>Proceed</button>
</div>
</section>
</div><!-- END changes for hero header -->
</section>
</div> <!-- END changes for main section -->
</section>
<footer>
<div class="container">
<p>© IDEO 2018</p>
</div>
</footer>
<script src="js/main.js"></script>
<script src="js/tutorials.js"></script>
<script src="js/cart.js"></script>
</body>
</html>