forked from suwebdev/wats1020-dom-basics
/
index.html
29 lines (28 loc) · 1.12 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Fortune Cookie Generator</title>
<meta name="description" content="This page generates fortune cookie sayings.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="main.css">
<script type="text/javascript" src="fortune-cookie-generator.js"></script>
</head>
<body>
<h1>Fortune Cookie Generator</h1>
<p>Use this page to generate fortune cookie sayings.</p>
<div class="fortune-cookie-saying-wrapper">
<p id="fortune-cookie-text">Click the button to generate a saying.</p>
</div>
<!-- TODO: Make this button execute the `generateFortuneCookie()` function. -->
<button class="generate-button">
Make My Fortune!
</button>
<hr>
<h2>Previous Fortunes</h2>
<ul id="previous-fortunes-container">
<!-- TODO: Modify javascript so previously generated fortunes are listed here. -->
</ul>
</body>
</html>