-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (42 loc) · 1.51 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
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="index.css" />
<title>Stone, Paper, Scissors</title>
</head>
<body>
<img id="bgImg" src="https://picsum.photos/id/884/3/2" alt="">
<main class="container">
<section class="score-card">
<p class="top">Top Score: <span id="top-score"> 0 : 0</span></p>
<p class="score">
You <span id="your-score">0</span> : <span id="pc-score">0</span> PC
</p>
<p class="description">Please make your selection</p>
<article class="selection">
<img src="./assets/rock.png" alt="rock" id="rock" />
<img src="./assets/paper.png" alt="paper" id="paper" />
<img src="./assets/scissor.png" alt="scissor" id="scissor" />
</article>
</section>
<section class="choice-section">
<article class="choices">
<div id="your-choice"></div>
<div id="pc-choice"></div>
</article>
<p class="message"></p>
</section>
<section class="modal-card">
<article class="modal">
<p>Game Over</p>
<p id="final-message">You Lost</p>
<button id="play-again">Play Again</button>
</article>
</section>
</main>
<script src="./app2.js"></script>
</body>
</html>