-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
114 lines (109 loc) · 3.96 KB
/
index.html
File metadata and controls
114 lines (109 loc) · 3.96 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!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 href="style.css" rel="stylesheet" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=VT323&display=swap"
rel="stylesheet"
/>
<title>RockPapeScissa</title>
</head>
<body>
<div class="main">
<div class="title--box">
<h1 class="title-main">RockPapeScissa</h1>
</div>
<section class="container">
<h2 class="sub-title">Please choose one</h2>
<div class="choose--img">
<button class="btn btn-rock">
<div class="rock--img">
<img src="images/rock.jpg" alt="rock-image" />
<p class="img--description">ROCK!</p>
</div>
</button>
<button class="btn btn-paper">
<div class="paper--img">
<img src="images/paper.jpg" alt="paper-image" />
<p class="img--description">PAPER!</p>
</div>
</button>
<button class="btn btn-scissors">
<div class="scissors--img">
<img src="images/scissors.jpg" alt="scissors-image" />
<p class="image--description">SCISSORS!</p>
</div>
</button>
</div>
</section>
<div class="results">
<section class="players--cpu">
<div class="player player--0">
<h2>You chose:</h2>
<img
src="images/player01.jpg"
alt="player image"
id="player--image"
/>
<div class="rock--img0 hidden">
<img src="images/rock.jpg" alt="rock image" />
<p class="img--description">ROCK!</p>
</div>
<div class="paper--img0 hidden">
<img src="images/paper.jpg" alt="paper image" />
<p class="img--description">PAPER!</p>
</div>
<div class="scissors--img0 hidden">
<img src="images/scissors.jpg" alt="scissors image" />
<p class="image--description">SCISSORS!</p>
</div>
</div>
<div class="cpu">
<h2>CPU chose:</h2>
<img src="images/cpu.png" alt="cpu image" id="cpu--image" />
<div class="rock--img1 hidden">
<img src="images/rock.jpg" alt="rock image" />
<p class="img--description">ROCK!</p>
</div>
<div class="paper--img1 hidden">
<img src="images/paper.jpg" alt="paper image" />
<p class="img--description">PAPER!</p>
</div>
<div class="scissors--img1 hidden">
<img src="images/scissors.jpg" alt="scissors image" />
<p class="image--description">SCISSORS!</p>
</div>
</div>
</section>
<section class="result">
<span class="result--text">Are you ready?</span>
</section>
</div>
<section class="game--score">
<h3>ROUND: <span class="round--number">0</span></h3>
<h3>PLAYER:<span class="score--player">0</span></h3>
<h3>CPU:<span class="score--cpu">0</span></h3>
</section>
<!-- <div class="nav-bar">
<button>New Game</button>
<button>Vs Player</button>
<button>vs CPU</button>
</div> -->
<section class="made--by"><p>Created by NeticDev</p></section>
</div>
<div class="modal--window hidden">
<div class="reset--window">
<span class="result--reset"></span>
<p class="reset--text">Press the button to reset the game.</p>
<button class="reset--button">RESET</button>
</div>
<div class="overlay"></div>
</div>
<script src="script.js"></script>
</body>
</html>