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 1
/
checkout.html
111 lines (105 loc) · 5.03 KB
/
checkout.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
<!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 rel="shortcut icon" href="//cdn.shopify.com/s/files/1/0361/8553/8692/files/d_and_k_and_logo_1_32x32.png?v=1593074179" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./styles/cart.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<title>Checkout Page</title>
<script src="https://kit.fontawesome.com/4cb1a40bcb.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./styles/checkout.css">
</head>
<body>
<form id="checkout">
<div class="inside_checkout1">
<a href="#"><img src="https://cdn.shopify.com/s/files/1/0361/8553/8692/files/unnamed_250x_200x_2x_260x_24408e11-6e3a-4a0c-8327-74d0455f7696_260x.jpg?v=1646547348" alt=""></a>
<div id="pb">
<p style="color: #ff8091;">Cart</p>
<i class="fa-solid fa-angle-right"></i>
<p>Information</p>
<i class="fa-solid fa-angle-right"></i>
<p style="color: #908299;">Shipping</p>
<i class="fa-solid fa-angle-right"></i>
<p style="color: #908299;">Payment</p>
</div>
<div id="cnt">
<div>
<p class="udit_p">Contact Information</p>
<p style="color: #665f80;" class="udit_p2">Already have an account?Log In to redeem Skindulgence Points.<span style="color: #ff8091;"> Log in</span></p>
</div>
<div>
</div>
</div>
<input class="input" type="text" placeholder="Udit123@gmail.com" required>
<div id="inp_p">
<input id="checkbox" type="checkbox" required>
<p class="udit_p2"> Keep me up to date on news and exclusive offers</p>
</div>
<p class="udit_p">Shipping address</p>
<form >
<select class="input" required>
<option value="">Country</option>
<option value="">India</option>
<option value="">United Arab Emirates</option>
<option value="">Pakistan</option>
<option value="">Afganistan</option>
<option value="">USA</option>
<option value="">UK</option>
<option value="">Belgium</option>
<option value="">Bangladesh</option>
<option value="">Iran</option>
<option value="">Iraq</option>
<option value="">china</option>
<option value="">Israil</option>
<option value="">Japan</option>
<option value="">Malaysia</option>
<option value="">Nepal</option>
</select>
<div id="firstname">
<input class="inp" type="text" placeholder="First Name" required>
<input style="margin-right: 9px;" class="inp" type="text" placeholder="Last Name" required>
</div>
<input class="input" type="text" placeholder="Address" required>
<input class="input" type="text" placeholder="Apartment. Suit, etc.(Optional)" required>
<div id="firstname">
<input class="inp1" type="text" placeholder="City" required>
<input class="inp1" type="text" placeholder="State" required>
<input style="margin-right: 9px;" class="inp1" type="number" placeholder="pincode" required>
</div>
<input class="input" type="number" placeholder="Phone" required>
<div id="inp_p">
<input id="checkbox" type="checkbox" required>
<p> Save this information for next time</p>
</div>
<div id="inp_p">
<br><input id="checkbox" type="checkbox" required>
<p>Get Order Updates On WhatsApp</p>
</div>
</form>
<div id="inp_p1">
<i style="color: #ff8091;" class="fa-solid fa-angle-left"></i>
<p style="color: #ff8091;">Return to cart</p>
<button>Continue to Shipping</button>
</div>
<hr>
<div id="refund">
<p>Refund policy</p>
<p>Shipping policy</p>
<p>Privacy policy</p>
<p>Terms of service</p>
</div>
</div>
</form>
</body>
</html>
<script>
let form= document.querySelector("form").addEventListener("submit",clickfunction)
function clickfunction(){
event.preventDefault()
alert("payment sucessfull")
window.location.href="./index.html"
}
</script>