-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (38 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Alternate prompts</title>
<!-- Custom CSS -->
<link rel="stylesheet" href="style.css">
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.7.0.slim.min.js" integrity="sha256-tG5mcZUtJsZvyKAxYLVXrmjKBVLd6VpVccqz/r4ypFE=" crossorigin="anonymous"></script>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div id="container">
<p id="last-night" aria-hidden="true">Last night, I dreamed <a href="JavaScript: void(0)" onClick="dreamGet()" id="about" aria-live="aggressive" aria-label="Last night, I dreamed about">about</a></p>
<div id="dream">
<p id="first-dream" aria-live="polite"></p>
<p id="second-dream" aria-live="polite"></p>
</div>
<footer>
<ul id="footer-container">
<li class="footer-item"><a href="JavaScript: void(0)" onClick = "options()">Options</a></li>
<li class="footer-item"><a href="JavaScript: void(0)" onClick = "who()">Who?</a></li>
<li id="name" class="footer-answer hidden"><a href="http://annierwebb.com/" target="_blank" aria-live="aggressive">Annie Rose Webb</a></li>
<li class="footer-answer"><a href="JavaScript: void(0)" onClick="backgroundToggle()"><span id="disable" class="hidden" aria-live="aggressive">Disable background color</span></a></li>
</ul>
</footer>
</div>
<!-- jQuery CDN -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- TinyColor for checking background brightness -->
<script type='text/javascript' src='js/tinycolor.js'></script>
<!-- Custom JS -->
<script src="js/main.js"></script>
</body>
</html>