-
Notifications
You must be signed in to change notification settings - Fork 1
/
thankyou2.html
45 lines (43 loc) · 961 Bytes
/
thankyou2.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
<!DOCTYPE html>
<html>
<style>
body{
background: rgb(242, 206, 140);
color: #000000;
}
h1{
margin-top: 380px;
font-size: 50px;
font-family: Brush Script Mt;
}
p{
margin-top: 20px;
font-size: 20px;
font-family: Brush Script Mt;
text-align: center;
}
</style>
<head>
<title>Thank You Page</title>
</head>
<body>
<h1 align="center">Thank you for your feedback.</h1>
<p>Web page redirects in <span id="timer_text">3</span> seconds.</p>
</body>
<script>
setTimeout(function(){
window.location.href = 'customer.html';
}, 3800);
var text = ["2", "1", "0"];
var counter = 0;
var elem = document.getElementById("timer_text");
var inst = setInterval(change, 1000);
function change() {
elem.innerHTML = text[counter];
counter++;
if (counter >= text.length) {
counter = 0;
}
}
</script>
</html>