forked from rohit753/Adidas-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment.html
156 lines (156 loc) · 5.98 KB
/
payment.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!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>Document</title>
<style>
*{
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
#logoImgA{
width:60px; margin-left: 100px;
}
#navContainerA{
display: flex; margin-left: 70px;
}
#navContainerA > div > div{
width: 18px; height: 20px; color: white; background-color: black;
border-radius: 50%; margin:-4px 10px 10px 30px; text-align: center; padding: 2px;
font-size: 14px;
}
#navContainerA > div{
display: flex; font-size: 12px; margin-top: 30px; font-weight: bold; letter-spacing: 1px;
}
#queA{
color: gray; margin-left: 200px;
}
.marginA{
margin-left: 100px;
}
#addContainerA{
display: flex; width: 85%; margin-left: 100px;
}
#leftA{
width: 68%;
}
#rightA{
width: 28%; margin-left: 4%;
}
.checkBox{
width: 25px; height: 25px;
}
.numA{
width: 65%; height: 50px; margin-bottom: 40px;
}
.dateA{
width: 30%; height: 50px; margin-right: 3%;
}
#queBox{
width: 20px; height: 20px; background-color: rgb(189, 189, 189); padding: 10px; font-size: 25px; font-weight: bold;
text-align: center; margin-top: -80px; margin-left: 520px;
}
#exA{
font-size: 12px; color: grey; line-height: 0px;
}
#cashDel{
width: 98%;margin-top: 50px;
}
#placeOrd{
width: 60%; height: 50px;background-color: black; color: white;
}
#orderA{
border: 1px solid rgb(158, 157, 157); padding: 20px; margin-top: 20px;
}
#promoA{
width: 98%; height: 40px; margin-top: 20px; margin-bottom: 20px;
}
#helpA{
border: 1px solid rgb(158, 157, 157); padding: 20px; margin-top: 20px;
}
#lastPara{
width: 97.5%; height: 60px; margin-top: 100px; background-color: rgb(65, 63, 63);
color: rgb(179, 179, 179); font-size: 12px; text-align: center; padding: 20px;
}
#lastPara>a{
color: white;
}
</style>
</head>
<body>
<img id="logoImgA" src="https://www.freepnglogos.com/uploads/adidas-logo-png-hd-17.png" alt="">
<div id="navContainerA">
<div><div>1</div>BAG</div>
<div><div>2</div>DELIVERY</div>
<div><div>3</div>PAYMENT</div>
<div><div>4</div>ORDER COMPLETE</div>
<div id="queA"> ☏ QUESTIONS?  <a href="#">1800-120-3300</a>     8AM - 8PM, 7 days a week</div>
</div>
<hr>
<h1 class="marginA">PAYMENT METHOD</h1>
<div id="addContainerA">
<div id="leftA">
<p>All transactions are safe and secure</p>
<hr>
<div id="cardPay">
<input class="checkBox" type="checkbox"> <span>Credit/Debit Card</span>
<p>You may be directed to your bank's 3D secure process to authenticate your information.</p>
<div><input class="numA" type="number" placeholder="Card Number *">
<img src="https://brand.assets.adidas.com/image/upload/f_auto,q_auto,fl_lossy/enIN/Images/visa-master-rupay-cd_tcm209-732258.png">
</div>
<div>
<input class="numA" type="text" placeholder="Name On Card *"><br>
<input class="dateA" type="text" placeholder="MM/YY *"> <input class="dateA" type="number" placeholder="CVV *">
</div>
<p id="exA">Card expiry date</p>
<hr id="lineStyle">
<div id="queBox">?</div>
</div>
<div id="cashDel">
<input class="checkBox" type="checkbox"> <span>Credit/Debit Card</span><br><br><br><br>
<button onclick="place()" id="placeOrd">PLACE ORDER                    
                    
→</button>
</div>
</div>
<div id="rightA">
<div id="orderA">
<h2>ORDER SUMMARY</h2>
<div style="display: inline-block;width: 50%;">
<p id="p1A">Delivery</p>
<p id="p2A"><b>Total</b></p>
<p id="p3A">(inclusive of all Taxes)</p>
</div>
<div style="display: inline-block;width: 45%;vertical-align: top;text-align: right;">
<p id="pA1" >FREE</p>
<p id="pA2"></p>
</div>
</div>
<input id="promoA" type="text" placeholder="Enter Your Promo Code">
<div id="helpA">
<p>NEED HELP?</p>
<a href="#">Delivery</a><br><br>
<a href="#">Return & Refund</a><br><br>
<a href="#">Ordering & Payment</a><br><br>
<a href="#">Promotions & Vouchers</a><br><br>
<img src="https://brand.assets.adidas.com/image/upload/f_auto,q_auto,fl_lossy/enIN/Images/visa-master-rupay-cd_tcm209-732258.png">
</div>
</div>
</div>
<div id="lastPara">
| <a href="#">Privacy Statement</a> | <a href="#">Terms & Conditions</a><br><br>
<div>© 2021 adidas India Marketing Private Limited</div>
</div>
</body>
</html>
<script>
var bill=JSON.parse(localStorage.getItem("Final"));
var total= document.getElementById("pA2")
total.style.fontWeight="bold";
total.textContent=bill;
function place(){
alert("Order Placed Successfully")
window.location.href="index.html"
}
</script>