-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
39 lines (33 loc) · 1.12 KB
/
game.html
File metadata and controls
39 lines (33 loc) · 1.12 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
<!DOCTYPE html>
<!-- game.html-->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles/game.css">
<script type="text/javascript" src="scripts/library.js" crossorigin="anonymous" defer></script>
<script type="text/javascript" src="scripts/game.js" crossorigin="anonymous" defer></script>
<title>Guessing Game</title>
</head>
<body>
<header>
<div id="header">JavaScript 101</div>
</header>
<main>
<h1>Guessing Game</h1>
<button id="startgame">Start Game</button>
<dialog id="prompt">
<form method="dialog">
<output name="title">JavaScript Promt</output>
<output name="message">Guess the number</output>
<input type="text" name="data">
<button name="cancel">Cancel</button>
<button name="ok" value="OK">OK</button>
</form>
</dialog>
</main>
</body>
<footer>
<p>Copyright Mark Simon</p>
<p><a href="#">Back to Index</a></p>
</html>