-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (31 loc) · 980 Bytes
/
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
<!DOCTYPE html>
<html lang="en" id = "newColor">
<link rel="stylesheet" href="main.css">
<script src="timeColor.js"></script>
<header>
Welcome:
</header>
<body>
<h1>
What's the current time in Seattle?
</h1>
<div>
<span id="timeHere"></span>
<button onclick="getTime()">Get Time</button>
<span id="timeZone"></span>
<button onclick="getZone()">Get Zone</button>
</div>
<div>
<h2>
Don't like the background color? Change here!
</h2>
<button id="color-blue" onclick="backgroundColor1()">Blue</button>
<button id="color-purple" onclick="backgroundColor2()">Purple</button>
</div>
</body>
<footer>
<p><small>© 2021 by Chris Navoczynski, All Rights Reserved ~
<a href="http://validator.w3.org/check/referer" target="_blank">Valid HTML</a> ~
<a href="http://jigsaw.w3.org/css-validator/check?uri=referer" target="_blank">Valid CSS</a></small></p>
</footer>
</html>