-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (46 loc) · 1.63 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
51
52
<!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="icon" href="./favicon.ico" type="image/x-icon">
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="./style.css">
<script src="./script.js" defer></script>
</head>
<body>
<header>
<h1>ROCK PAPER SCISSORS</h1>
</header>
<div class="main">
<div class="scoreboard">
<h2 class="scoreinfo">Choose your weapon</h2>
<h3 class="scoremessage">First to score 5 points wins the game</h3>
<div class="scorecontainer">
<div class="score">
<img src="./img/question-mark.png" class="output playersign">
<p class="playerscore">Player: 0</p>
</div>
<div class="score">
<img src="./img/question-mark.png" class="output pcsign">
<p class="pcscore">Computer: 0</p>
</div>
</div>
</div>
<div class="buttons">
<button class="rock"></button>
<button class="paper"></button>
<button class="scissors"></button>
</div>
</div>
<footer>Copyright © 2022 alex-dishen
<a href="https://github.com/alex-dishen" target="_blank"><img src="./img/github.png" class="github"></a>
</footer>
<div class="modal">
<p class="winnerpara">Who won?</p>
<button id="restart">Restart</button>
</div>
<div id="overlay"></div>
</body>
</html>