-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththankyou-contact.html
More file actions
42 lines (34 loc) · 865 Bytes
/
thankyou-contact.html
File metadata and controls
42 lines (34 loc) · 865 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Thank You</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<style>
h1{
color: green;
}
</style>
</head>
<body>
<div style="text-align:center;">
<h1>Thank you for contact!!!</h1>
<p>Your submission has been received.</p>
<p>This page will redirect in <span id="timer"></span></p>
</div>
<script type="text/javascript">
var count = 10;
var redirect = "https://code2crown.github.io/mywebsite/index.html";
function countDown() {
if(count >= 0){
document.getElementById("timer").innerHTML = count--;
setTimeout("countDown()", 5000);
}else{
window.location.href = redirect;
}
}
countDown();
</script>
</body>
</html>