-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (48 loc) ยท 2.13 KB
/
index.html
File metadata and controls
53 lines (48 loc) ยท 2.13 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Island+Moments&display=swap" rel="stylesheet">
<meta charset="UTF-8">
<title> TFM Treasure Hunt</title>
<link rel="icon" type="image/x-icon" href="https://media.istockphoto.com/photos/gold-coins-picture-id165418688?k=20&m=165418688&s=612x612&w=0&h=Nw4eXeYtbwNPavfU55647mxSaZUldDlZ7CfYJSCLuXo=">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 id="top">๐ดโโ ๏ธT.F.M. Treasure Hunt ๐ดโโ ๏ธ</h1>
<h2>Welcome to Trevor,Francisco, & Mikes treasure hunt</h2>
<ul>
<li>Click the boxes to reveal the tile.</li>
<li>If you get a "X" you LOST!</li>
<li>If you get a Palm Tree, you WON!</li>
<li>Click on the boxes until you Win or Lose.</li>
<li>Have Fun.</li>
</ul>
<div id="gameboard">
<table id="outcome" border="2">
<tr>
<td id="0" onClick = "treasureHunt(0)">๐๏ธ</td>
<td id="1" onClick = "treasureHunt(1)">๐๏ธ</td>
<td id="2" onClick = "treasureHunt(2)">๐๏ธ</td>
</tr>
<tr>
<td id="3" onClick = "treasureHunt(3)">๐๏ธ</td>
<td id="4" onClick = "treasureHunt(4)">๐๏ธ</td>
<td id="5" onClick = "treasureHunt(5)">๐๏ธ</td>
</tr>
<tr>
<td id="6" onClick = "treasureHunt(6)">๐๏ธ</td>
<td id="7" onClick = "treasureHunt(7)">๐๏ธ</td>
<td id="8" onClick = "treasureHunt(8)">๐๏ธ</td>
</tr>
</table>
</div>
<footer>© TFM Jumpstart</footer>
<a href="#top">Back to top</a>
<a href="https://en.wikipedia.org/wiki/Treasure_hunt" target="_blank">Treasure Hunt Wiki</a>
<button type="submit" onClick="refreshPage()">Restart Game</button>
<script type="text/javascript" src="treasurehunt.js"></script>
<link rel="stylesheet" href="treasurehunt.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
</body>
</html>