-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (117 loc) · 8.3 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
< !DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="app.js" defer></script>
<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>JS Project</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="bubble">
<h1 class="header">Purchase Water</h1>
<section class="cardContainer">
<div class="cardBox">
<div class="bottleBackgroundLeftSide">
<div class="bottlePositionLeftSide">
<div class="bottleTextBoxLeft">6 BOTTLE PACK <div class="bottlePriceBoxLeft">$2.5 / pack </div>
<div class="priceCalculator"><button class="btnInfo" value="plus" id="totalAmountSmall" onclick="add('small'); ">+</button><span class="quantityInput" id="small">0</span><button class="btnInfo" value="minus" id="totalAmountSmall" onclick="remove('small'); ">-</button></div>
</div>
</div>
</div>
<div class="bottleBackgroundCenter">
<div class="bestPriceBackground">
<div class="bestPriceBanner">Best Price !</div>
</div>
<div class="bottlePositionCenter">
<div class="bottleTextBoxCenter">12 BOTTLE PACK <div class="bottlePriceBoxCenter">$4.66 / pack </div>
<div class="priceCalculator"><button class="btnInfo" value="plus" id="totalAmountMedium" onclick="add('medium'); ">+</button><span class="quantityInput" id="medium">0</span><button class="btnInfo" value="minus" id="totalAmountMedium" onclick="remove('medium'); ">-</button></div>
</div>
</div>
</div>
<div class="bottleBackgroundRightSide">
<div class="bottlePositionRightSide">
<div class="bottleTextBoxRight">24 BOTTLE PACK <div class="bottlePriceBoxRight">$9 / pack </div>
<div class="priceCalculator"><button class="btnInfo increment" value="plus" id="totalAmountLarge" onclick="add('large')">+</button><span class="quantityInput" id="large">0</span><button class="btnInfo decrement" value="minus" id="totalAmountLarge" onclick="remove('large')">-</button></div>
</div>
</div>
</div>
</div>
</section>
</div>
<div class="rectangle ">
<section class="billingContainer">
<div class="billingBox">
<div class="imgLadyPosition"></div>
<div class="billingInfo">
<h1 class="billingHeader">Billing Info</h1>
<div class="formGroupContainer">
<form action="onOverlay()">
<div class="inputPosition">
<div class="form-group"><label for="fname">First Name</label><input type="text" id="firstName" aria-describedby="name-format" aria-required=”true” class="form-control" pattern="[a-zA-Z]{2,70}" required></div>
<div class="form-group"><label for="lname">Last Name</label><input type="text" id="lastName" aria-describedby="name-format" aria-required=”true” class="form-control" pattern="[a-zA-Z]{2,70}" required></div>
</div>
<div class="form-group"><label for="email">Email</label><input type="email" class="form-control emailInput" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$"></div>
<div class="bottlePackContainer" id="bottlePackSmallSummary" data-count="0">
<div class="bottlePackInfo">
<div class="bottlePackNumber">
<h1>6 BOTTLE PACK</h1>
</div>
<div class="packQuantityNumber">
<h1>Packs quantity</h1>
</div>    <span class="quantityInput" id="quantityInputNumberSmall" type="number"></span>
</div>
</div>
<div class="bottlePackContainer" id="bottlePackMediumSummary" data-count="0">
<div class="bottlePackInfo">
<div class="bottlePackNumber">
<h1>12 BOTTLE PACK</h1>
</div>
<div class="packQuantityNumber">
<h1>Packs quantity</h1>
</div>  <span class="quantityInput" id="quantityInputNumberMedium" type="number"></span>
</div>
</div>
<div class="bottlePackContainer" id="bottlePackLargeSummary" data-count="0">
<div class="bottlePackInfo">
<div class="bottlePackNumber">
<h1>24 BOTTLE PACK</h1>
</div>
<div class="packQuantityNumber">
<h1>Packs quantity</h1>
</div>  <span class="quantityInput" id="quantityInputNumberLarge" type="number"></span>
</div>
</div>
<div class="borderLine"></div>
<div class="totalNumberContainer">
<div class="totalNumber">
<h1>Your total</h1><span class="totalNumberPosition" id="totalAmount">$0.00</span>
</div>
</div>
<div class="checkoutBackground"><button class="buttonImg" type="submit"><img role="button" class="checkoutButtonImg" src="./PICS/checkoutbtn.png" alt=""></button></div>
</form>
</div>
<div id="overlay" onclick="off()">
<div class="viewOverlayContainer">
<div class="viewOverlay" id="textLayout">
<div class="closeButtonImgContainer"><button class="buttonImg"><img role="button" class="closeButtonImg" src="./PICS/close.png" alt=""></button></div>
<div class="viewName"><span id="firstnameOverlay"></span><span id="lastnameOverlay"></span></div>
<div class="viewNumberOfPackges">
<h4 id="numberOfSmallBottleOverlay"></h4>
<h4 id="numberOfMediumBottleOverlay"></h4>
<h4 id="numberOfLargeBottleOverlay"></h4>
</div>
<div class="thanksYouSign"><span>Thank You !</span></div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</body>
</html>