-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
36 lines (35 loc) · 1.09 KB
/
Copy pathgame.html
File metadata and controls
36 lines (35 loc) · 1.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="1.1_css.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Week 3 Game Assignment</title>
<script src="code.js"> </script>
</head>
<header>
<nav>
<!--the a tag is the anchor tag - it creates a hyperlink -->
<a href="index.html"> Home </a>
</br> <a href="boards.html">Boards</a>
</br> <a href="game.html">Game</a>
</br> <a href="palindrome.html">Palindrome</a>
</br> <a href="basics.html">Basics</a>
</br> <a href="strings.html">Strings</a>
</br> <a href="w11sound.html">Sound</a>
</br> <a href="w13table_html.html">Table</a>
</nav>
</header>
<body>
<!-- let the user know what the page is all about -->
<h1>
Welcome, let's play the dice game Craps
</h1>
<!-- -->
<button onclick="playCraps();"> Play Craps </button>
<div id="crapsResults"> Craps Results </div>
<div id="die1Result">Die 1 Result</div>
<div id="die2Result">Die 2 Result</div>
<div id="sumResult">Sum Result</div>
</body>
</html>