-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (35 loc) · 1.44 KB
/
index.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
<!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 href="https://fonts.googleapis.com/css?family=Roboto&subset=latin-ext" rel="stylesheet">
<link rel="stylesheet" href="style/style.css">
<title>Game - Paper Scissors Rock</title>
</head>
<body>
<h1>"paper scissors rock"</h1>
<div class="select">
<h3>Select a hand:</h3>
<img data-option="paper" class="first" src="assets/paper.jpg" alt="" title="Paper">
<img data-option="rock" src="assets/rock.jpg" alt="" title="Rock">
<img data-option="scissors" src="assets/scissors.jpg" alt="" title="scissors">
</div>
<button class="start">Let's play!</button>
<div class="panel-left">
<h3>Game results</h3>
<p>Your choice: <span data-summary="your-choice"></span></p>
<p>AI choice: <span data-summary="ai-choice"></span></p>
<h2>Game winner: <span data-summary="who-win"></span></h2>
</div>
<div class="panel-right">
<h3>Current results</h3>
<p class="numbers">Number of games: <span>0</span></p>
<p class="wins">Wins: <span>0</span></p>
<p class="losses">Losses: <span>0</span></p>
<p class="draws">Draws: <span>0</span></p>
</div>
<script src="js/game.js"></script>
</body>
</html>