-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·54 lines (50 loc) · 1.69 KB
/
Copy pathindex.html
File metadata and controls
executable file
·54 lines (50 loc) · 1.69 KB
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
<!DOCTYPE html>
<html>
<head>
<title>fuzzy's homepage :)</title>
<link rel=stylesheet type=text/css href=main.css>
<link rel=stylesheet type=text/css href=widescreen.css>
<link rel=stylesheet type=text/css href=thin.css>
<link rel=stylesheet type=text/css href=phone.css>
</head>
<body>
<header>
<h1>fuzzy's homepage =]</h1>
<section id="time"></section>
<form id="search_form" method="get" action="https://duckduckgo.com/?q=">
<input type="search" name="q" placeholder="search" aria-label="search">
<button type="submit" label="search!" aria-label="search!">Search!</button>
</form>
</header>
<section id="quicklinks">
<ul>
<li><a href="https://enafore.social/">Fedi</a></li>
<li><a href="https://discord.com/app">Discord</a></li>
<li><a href="https://shiori.fuzzy.click">Shiori</a></li>
<li><a href="https://rss.fuzzy.click">CommaFeed</a></li>
<li><a href="https://home.fuzzy.click">Home Assistant</a></li>
<li><a href="https://wanikani.com">WaniKani</a></li>
<li><a href="https://jelly.fuzzy.click">Jellyfin</a></li>
</ul>
</section>
<img src="startpage-pics/null.jpg">
<script>
var time = document.querySelector('#time');
function updateClock() {
// Get the current time, day , month and year
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var date = now.getDate();
// format date and time
var period = hours < 12 ? 'AM' : 'PM';
hours = hours % 12 || 12;
minutes = minutes < 10 ? '0' + minutes : minutes;
// display date and time
time.innerHTML = hours + ':' + minutes + " " + period;
}
updateClock();
setInterval(updateClock, 1000);
</script>
</body>
</html>