forked from Technigo/project-cluedo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (54 loc) · 2.08 KB
/
index.html
File metadata and controls
62 lines (54 loc) · 2.08 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
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./style.css" />
<title>Cluedo Mystery Picker</title>
</head>
<body>
<h1>Cluedo Mystery Picker</h1>
<h3>Hosting a game of Cluedo and need help drawing up a solution?</h3>
<h3>Click to choose one card from each deck below.</h3>
<section class="card-container">
<article class="killer-deck" id="killerCard" onclick="pickKiller()">
<p>KILLER</p>
<p class="titles" id="killerTitle"></p>
<img id="killerImg"/>
<div class="killer-text">
<p class="indent" id="killerName"></p>
<p class="indent" id="killerAge"></p>
<p class="indent" id="killerOccupation"></p>
<p class="indent" id="killerDescription"></p>
</div>
</article>
<article class="weapon-deck" id="weaponCard" onclick="pickWeapon()">
<p>WEAPON</p>
<p class="titles" id="weaponName"></p>
<img id="weaponImg"/>
<p id="weaponDescription"></p>
</article>
<article class="room-deck" id="roomCard" onclick="pickRoom()">
<p>ROOM</p>
<img id="roomImg"/>
<p class="titles" id="roomName"></p>
</article>
</section>
<section class="reveal">
<h2 id="mystery"></h2>
<button id="mysteryReveal" onclick="revealMystery()">SOLUTION</button>
<button id="reset" class="reset" onclick="location.reload()">RESET</button>
</section>
<footer>
<div class="footer">
This page was made by Peggy @
<a href="https://blipsandclicks.com">blipsandclicks</a>
for educational purposes as a part of Technigo Bootcamp 2020. Illustrations from
<a href="https://www.flaticon.com/">flaticon</a>.
</div>
<div class="footer"><span>🦊 | </span><img src="./technigo-logo.svg"></div>
</footer>
<script src="./clue.js"></script>
</body>
</html>