-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (55 loc) · 1.62 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>My landing page</title>
<link rel="shortcut icon" href="data:image/x-icon;" type="image/x-icon">
<!-- We need this line below for responsiveness! -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Monoton&display=swap" rel="stylesheet">
<!-- <link rel="javascript" href="javascript/countdown.js"> -->
<script>
function startTime() {
var today = new Date();
var s = today.getSeconds();
s = checkTime(s);
document.getElementById('txt').innerHTML = s;
var t = setTimeout(startTime, 500);
}
function checkTime(i) {
if (i < 10) {i = "0" + i}; // add zero in front of numbers < 10
return i;
}
</script>
</head>
<body onload="startTime()">
<div class="whole">
<div class="banner">
<h1>Hoxton Digital</h1>
<h2>We make websites.</h2>
</div>
<video loop muted autoplay >
<source src="images/Go-Goat.mp4" type="video/mp4">
</video>
<h2>HOW IT WORKS</h2>
<div class="subcontent">
<div class="timer">
<div id="txt" class="stress move"></div>
<button class="btn">Click here</button>
</div>
</div>
</div>
<div class="content">
<div class="box">Box 1</div>
<div class="box">Box 2</div>
<div class="box">Box 3</div>
</div>
<!-- code a Hero / Banner section -->
<!-- code a "How it works" section -->
<!-- code a footer -->
</body>
<footer>
<p>Terms & Conditions</p>
</footer>
</html>