-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsclock.html
56 lines (39 loc) · 1.53 KB
/
jsclock.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
<html>
<head>
<title>A quick little site for when i'm bored!</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body onload="startTime()">
<div id="header">
<h1>javascript experiments</h1>
<p>this website is for me to showcase some small javascript things i've been trying in my spare time.</p>
</div>
<div class="topbar">
<h2>js: the clock.</h2>
<div class="navbar">
<a href="index.html">introduction</a>
<a href="about.html">about</a>
<a href="directory.html">directory</a>
</div>
</div>
<hr />
<div class = "page-content">
<h2>clock one: </h2>
<button type="button" onclick="document.getElementById('demo').innerHTML = Date()">click here for time</button>
<p id="demo"></p>
<div class = "line"></div>
<h2>clock two: </h2>
<script src="autoclock.js"></script>
<div id="txt"></div>
<div class = "line"></div>
<h2>clock three: </h2>
<p>Currently under construction: Come back later!</p>
</div>
<hr />
<div id="footer">
<a href="about.html">summer anderson-cheung</a>
<a href="https://www.ncl.ac.uk/computing/">newcastle university</a>
</div>
</body>
</html>
<!-- Ctrl + Alt + I to Intent! -->