/
index.html
125 lines (120 loc) · 3.78 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
<!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" />
<!-- Link to external stylesheet "main.css"-->
<link rel="stylesheet" type="text/css" href="main.css" />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap"
rel="stylesheet"
/>
<title>Coffee Masters</title>
</head>
<body>
<!-- Heading of the webpage -->
<nav class="main-nav-bar">
<h1>
<img
class="logo"
src="https://btholt.github.io/complete-intro-to-web-dev-v3/images/coffee_masters_logo.png"
alt="Coffee Masters Logo"
/>
Coffee Masters
</h1>
</nav>
<!-- Container which contains all the sections of the page!! -->
<div class="main-page">
<!-- 1st Section "Orders"-->
<section class="order box">
<h2 class="section-title">ITEMS</h2>
<ul class="items">
<li class="item">
<div class="item-quantity">1x</div>
<div class="item-title">Cappucino</div>
<div class="item-price">$6.00</div>
<ul class="item-options-list">
<li>Light Foam</li>
</ul>
</li>
<li class="item">
<div class="item-quantity">1x</div>
<div class="item-title">Cappucino</div>
<div class="item-price">$7.90</div>
<ul class="item-options-list">
<li>Almond Milk</li>
<li>Double Espresso Shot</li>
</ul>
</li>
<li class="item">
<div class="item-quantity">1x</div>
<div class="item-title">Croissant</div>
<div class="item-price">$5.37</div>
<ul class="item-options-list">
<li>butter</li>
</ul>
</li>
</ul>
</section>
<!-- 2nd Section "Names"-->
<section class="name box">
<h2 class="section-title">NAME</h2>
<div class="input-group">
<label class="input-label" for="userName">Name for order</label>
<input
class="input-name"
id="userName"
name="userName"
placeholder="Type in your Name"
/>
</div>
</section>
<!-- 3rd Section "Payments"-->
<section class="payment box">
<h2 class="section-title">PAYMENT</h2>
<div class="input-group">
<label class="input-label" for="cardNumber">Card Number</label>
<input
class="input-card"
id="cardNumber"
name="cardNumber"
placeholder="Card XXX XXX"
/>
</div>
<div class="input-group">
<label class="input-label" for="cvvNumber">CVV Number</label>
<input
class="input-cvv"
id="cvvNumber"
name="cvvNumber"
placeholder="CVV XXX"
/>
</div>
</section>
<!-- 4rd Section "Totals"-->
<section class="total">
<!-- <div class="total-fix"> -->
<ul class="items">
<li class="values">
<div class="sub-price">Subtotal:</div>
<div class="tot-price">$19.27</div>
</li>
<li class="values">
<div class="sub-price">Tax:</div>
<div class="tot-price">$0.96</div>
</li>
<li class="values">
<div class="sub-price price-design">Total:</div>
<div class="tot-price price-design">$20.23</div>
</li>
</ul>
<!-- </div> -->
</section>
</div>
<!-- 5rd Section "Place Order"-->
<section class="place-order">
<div>Place Order</div>
</section>
</body>
</html>