generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake-a-decision.html
94 lines (79 loc) · 3.14 KB
/
make-a-decision.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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A light-hearted javascript game for making decisions">
<meta name="keywords" content="game, rock, paper, scissors, lizard, spock, decisions">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="icon" type="image/x-icon" href="assets/images/ultimate_decision_maker.png">
<title>Ultimate Decision Maker</title>
</head>
<body>
<header>
<a href="index.html" id="logo">The Ultimate Decision Maker</a>
<nav>
<ul id="menu">
<li>
<a href="make-a-decision.html" class="active">Decide Now</a>
</li>
<li>
<a href="about-us.html">About Us</a>
</li>
</ul>
</nav>
</header>
<h1>Decide now!</h1>
<section>
<h2>Choose your hand</h2>
<div id="choose">
<button id="rock">Rock <i class="fas fa-hand-rock"></i></button>
<button id="paper">Paper <i class="fas fa-hand-paper"></i></button>
<button id="scissors">Scissors <i class="fas fa-hand-scissors"></i></button>
<button id="lizard">Lizard <i class="fas fa-hand-lizard"></i></button>
<button id="spock">Spock <i class="fas fa-hand-spock"></i></button>
</div>
<div id="choices">
<div>
<span id="playerChoice"></span>
</div>
<div>
<span id="computerChoice"></span>
</div>
</div>
<p><span id="result"></span></p>
</section>
<section>
<div id="scores">
<div class="playerScore">
<h3>The Choice You Want</h3>
<h2 class="player">0</h2>
</div>
<div class="computerScore">
<h3>The Right Choice</h3>
<h2 class="computer">0</h2>
</div>
</div>
<p>If you don't like the result, keep playing until you reach the decision you really want or reset the game to make a brand new decision.</p>
<a href="make-a-decision.html" class="hyperlink">Reset Game</a>
</section>
<footer>
<ul class="social-networks">
<li>
<a href="https://facebook.com" target="_blank" rel="noopener"
aria-label="Visit our Facebook page (opens in a new tab)"><i class="fab fa-facebook"></i></a>
</li>
<li>
<a href="https://youtube.com" target="_blank" rel="noopener"
aria-label="Visit our YouTube page (opens in a new tab)"><i class="fab fa-youtube-square"></i></a>
</li>
<li>
<a href="https://instagram.com" target="_blank" rel="noopener"
aria-label="Visit our Instagram page (opens in a new tab)"><i class="fab fa-instagram"></i></a>
</li>
</ul>
</footer>
<script src="https://kit.fontawesome.com/1bb627a8c8.js" crossorigin="anonymous"></script>
<script src="assets/js/make-decision.js"></script>
</body>
</html>