-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
89 lines (79 loc) · 2.34 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.png">
<link rel="stylesheet" href="homepage.css">
<title>New Tab</title>
<!-- TIME SCRIPT -->
<script>
const timeDiv = document.getElementById("time");
function updateTime()
{
const now = new Date();
const formattedTime = now.toLocaleTimeString(); //with seconds
// const formattedTime = now.toLocaleTimeString([], {timeStyle: 'short'}); //no seconds
document.querySelector('#time').textContent = formattedTime;
}
setInterval(updateTime, 1000);
</script>
<!-- TIME SCRIPT -->
</head>
<body class="element" onload="updateTime()">
<div class="outside">
<!-- TIME DISPLAY -->
<div class="anchortop"><a href="clock.html"><span id="time"></a></span></div>
<!-- TIME DISPLAY -->
<div class="inside">
<!-- START COLUMNS -->
<div class="row">
<!-- Column 1 -->
<div class="column">
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
</div>
<!-- Column 2 -->
<div class="column">
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
</div>
<!-- Column 3 -->
<div class="column">
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
</div>
<!-- Column 4 -->
<div class="column">
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
</div>
<!-- Column 5 -->
<div class="column">
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
</div>
</div>
<!-- END COLUMNS -->
</div>
<!-- BOTTOM ANCHOR -->
<div class="anchorbottom"><p><a href="https://jackvania.com">jackvania.com</a></p></div>
<!-- BOTTOM ANCHOR -->
</div>
</body>
</html>