-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
140 lines (140 loc) · 5.16 KB
/
index.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#7350FF" />
<link rel="manifest" href="/manifest.json" />
<link rel="" href="/manifest.json" />
<link href="css/main.css" rel="stylesheet" />
<title>Lana Checkout Challenge</title>
</head>
<body>
<div id="root">
<main class="App">
<section class="products">
<h1 class="main">Shopping cart</h1>
<ul class="products-list tableHead">
<li class="products-list-title row">
<div class="col-product">Product details</div>
<div class="col-quantity">Quantity</div>
<div class="col-price">Price</div>
<div class="col-total">Total</div>
</li>
</ul>
<ul class="products-list">
<li class="product row">
<div class="col-product">
<figure class="product-image">
<img src="img/shirt.png" alt="Shirt" />
<div class="product-description">
<h1>Shirt</h1>
<p class="product-code">Product code X7R2OPX</p>
</div>
</figure>
</div>
<div class="col-quantity">
<button class="count">-</button
><input type="text" class="product-quantity" value="3" /><button
class="count"
>
+
</button>
</div>
<div class="col-price">
<span class="product-price">20</span
><span class="product-currency currency">€</span>
</div>
<div class="col-total">
<span class="product-price">60</span
><span class="product-currency currency">€</span>
</div>
</li>
<li class="product row">
<div class="col-product">
<figure class="product-image">
<img src="img/mug.png" alt="Mug" />
<div class="product-description">
<h1>Mug</h1>
<p class="product-code">Product code X2G2OPZ</p>
</div>
</figure>
</div>
<div class="col-quantity">
<button class="count">-</button
><input type="text" class="product-quantity" value="4" /><button
class="count"
>
+
</button>
</div>
<div class="col-price">
<span class="product-price">5</span
><span class="product-currency currency">€</span>
</div>
<div class="col-total">
<span class="product-price">20</span
><span class="product-currency currency">€</span>
</div>
</li>
<li class="product row">
<div class="col-product">
<figure class="product-image">
<img src="img/cap.png" alt="Cap" />
<div class="product-description">
<h1>Cap</h1>
<p class="product-code">Product code X3W2OPY</p>
</div>
</figure>
</div>
<div class="col-quantity">
<button class="count">-</button
><input type="text" class="product-quantity" value="4" /><button
class="count"
>
+
</button>
</div>
<div class="col-price">
<span class="product-price">10</span
><span class="product-currency currency">€</span>
</div>
<div class="col-total">
<span class="product-price">40</span
><span class="product-currency currency">€</span>
</div>
</li>
</ul>
</section>
<aside class="summary">
<h1 class="main">Order Summary</h1>
<ul class="summary-items wrapper border">
<li>
<span class="summary-items-number">11 Items</span
><span class="summary-items-price"
>120<span class="currency">€</span></span
>
</li>
</ul>
<div class="summary-discounts wrapper-half border">
<h2>Discounts</h2>
<ul>
<li><span>2x1 Mug offer</span><span>-10€</span></li>
<li><span>x3 Shirt offer</span><span>-3€</span></li>
<li><span>Promo code</span><span>0€</span></li>
</ul>
</div>
<div class="summary-total wrapper">
<ul>
<li>
<span class="summary-total-cost">Total cost</span
><span class="summary-total-price">107€</span>
</li>
</ul>
<button type="submit">Checkout</button>
</div>
</aside>
</main>
</div>
</body>
</html>