This page was made as a personal project in connection with an educational exercise.
This is NOT the official site of the company or brand identified on the page. The creator of this page is NOT affiliated with the company or brand in any way. DO NOT enter any personal information (such as logins, passwords or credit card numbers) on this site.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
payment-page.html
145 lines (119 loc) · 3.56 KB
/
payment-page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>payments page</title>
<link
rel="icon"
href="https://images-static.nykaa.com/media/favicon/default/nykaa_favicon_a.png"
type="image/x-icon"
/>
<link rel="stylesheet" href="./css/cartStyles.css" />
<link rel="stylesheet" href="./css/payment-styles.css">
</head>
<body>
<div id="navbar">
<div>
<a href="./index.html">
<img src="https://upload.wikimedia.org/wikipedia/en/thumb/0/00/Nykaa_New_Logo.svg/250px-Nykaa_New_Logo.svg.png" />
</a>
<div id="user_details">
<div>
<h4>1-LOGIN</h4>
<p id="login"></p>
</div>
<div>
<h4>2-ADDRESS</h4>
<p id="selectedAdd"></p>
</div>
<div>
<h4>3-PAYMENT</h4>
</div>
</div>
</div>
</div>
<div id="payment-method">
<button id="credit">Credit/Debit Card</button>
<button id="google">GooglePay</button>
<button id="netBanking">Net Banking</button>
<button id="mobileWallets">Mobile Wallets</button>
<button id="cod">Cash on Delievery</button>
<button id="gift">Gift Card</button>
</div>
<div id="container">
<div id="cardDetails">
<!-- here we can enter the card details and all -->
</div>
<div id="orderInfo">
<div id="totalProducts">
<p>
<!-- in this we can see the total of items present in cart -->
</p>
<span><button>Edit</button><button>^</button></span>
</div>
<div id="finalPrice">
<div>
<p>Sub Total</p>
<p id="subTotal">
<!-- Total price of cart items -->
</p>
</div>
<div>
<p>Shipping Charge</p>
<p id="shipCharge">free</p>
</div>
<div>
<p>Discount</p>
<p id="discount">-₹0</p>
</div>
<div>
<p>use rewards points(2000)</p>
<button onclick="discountPrices()">APPLY</button>
</div>
<div class="gray-line"></div>
<div>
<p>Grand Total</p>
<div>
<p id="grandTotal">
<!-- here we get the final grand price -->
</p>
<button>^</button>
</div>
</div>
</div>
<div id="finalAddress">
<h4>SHIPPING ADDRESS</h4>
<P id="userName"></P>
<p id="completeAddress"></p>
<h4></h4>
</div>
</div>
</div>
<div id="ads">
<div>
<!-- @archismandas please fill the images src in ads section at the bottom of page -->
<img src="#"/>
<div>
<h4>GENUINE PRODUCTS</h4>
<p>Sourced Directly From Brands</p>
</div>
</div>
<div>
<img src="#"/>
<div>
<h4>FREE SHIPPING</h4>
<p>For Orders Above Rs.499</p>
</div>
</div>
<div>
<img src="#"/>
<div>
<h4>SECURE PAYMENTS</h4>
<p>Using 128-bit SSL Encryption</p>
</div>
</div>
</div>
</body>
</html>
<script src="./js/payment-page.js"> </script>