-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (60 loc) · 2.73 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!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="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css"
integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<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=Rubik+Mono+One&display=swap" rel="stylesheet">
<title>Document</title>
</head>
<body>
<div class="game-container">
<!-- #home is the first thing showed, the start view -->
<div id="home" class="home">
<div class="title-container">
<h1>Rock, Paper Scissors game</h1>
</div>
<div class="div-buttons">
<button id="start-button" class="start-button">start</button>
</div>
</div>
<!-- <i class="fa-solid fa-hand-back-fist rockicon" id="rockicon"></i>
<i class="fa-solid fa-hand papericon"></i>
<i class="fa-solid fa-hand-scissors scissorsicon"></i> -->
<!-- #playing is the second screen -->
<div id="playing" class=" playing hide">
<!-- #begin is the first move of the user -->
<div id="begin" class="begin">
<h2>Choose one ↓</h2>
</div>
<!-- #after-choose is the result of the game -->
<div id="after-choose" class="hide after-choose">
<div class="choices">
<h2 class="user-choice">You<span id="user-choice" class="flip"></span></h2>
<h2 class="computer-choice">Computer<span id="computer-choice"></span></h2>
</div>
<h2 class="result"><span id="result"></span></h2>
</div>
<div class="all-buttons div-buttons">
<button id="rock" class="rock">rock</button>
<button id="paper" class="paper">paper</button>
<button id="scissors" class="scissors">scissor</button>
</div>
</div>
<div class="back-container">
<button id="back" class="back">← back</button>
</div>
</div>
<footer>
<p>Developed by <a href="https://github.com/thaismoreiradev" target="_blank" rel="noopener noreferrer">Thais
Moreira</a> </p>
</footer>
<script src="app.js" charset="utf-8"></script>
</body>
</html>