-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfirmation.html
106 lines (87 loc) · 2.69 KB
/
confirmation.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
<!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>Confirmation</title>
<link rel="shortcut icon" type="image/ico" href="https://m.geekbuying.com/favicon.ico">
<style>
* {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
'Open Sans', 'Helvetica Neue', sans-serif;
}
#header {
/* border: 1px solid red; */
width: 100%;
height: 120px;
background-color: #06fd;
}
#header>img {
margin: auto;
margin-left: 20px;
margin-top: 40px;
height: 50%;
}
#center {
width: 40%;
height: auto;
margin: auto;
margin-top: 80px;
text-align: center;
}
p {
opacity: 0.6;
margin-top: 40px;
}
#bottom {
height: 50px;
width: 50%;
margin: auto;
margin-top: 40px;
display: flex;
justify-content: space-around;
}
#track {
width: 20%;
font-size: large;
background: #06f;
color: aliceblue;
border: 0px;
}
#homepage {
width: 100%;
padding: 13px 13px;
font-size: large;
background-color: #06f;
color: aliceblue;
border: 0px;
cursor: pointer;
}
</style>
</head>
<body>
<div id="header">
<img src="https://content1.geekbuying.com/V1.4/en/images/indexV7/Geekbuying.png" alt="">
</div>
<div id="center">
<h1>Order Successfully Placed.</h1>
<p>Your order will be delivered between Mon 20, June 2022 and Wed 22, June 2022.</p>
<h3>We are pleased to confirm your order no. OD30846002458728700.</h3>
<h3>Thank you for shopping with Geekbuying!</h3>
</div>
<div id="bottom">
<input type="Submit" name="" id="track" value="Track Order">
<a href="index.html"><button id="homepage">Homepage</button></a>
<!-- <input type="submit" name="" id="homepage" value="Homepage"></a> -->
</div>
</body>
</html>
<script>
let noofpro = JSON.parse(localStorage.getItem("addcart")) || []
document.getElementById("noofpro").innerText = noofpro.length
document.querySelector("#homepage").addEventListener("click", gotohomepage);
// function gotohomepage() {
// window.location.href = "index.html";
// }
</script>