-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (55 loc) · 2.4 KB
/
Copy pathindex.html
File metadata and controls
66 lines (55 loc) · 2.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Rock Papper Scissors</title>
<script src="javascript.js"></script>
</head>
<body>
<article id="general">
<div id="rock-paper">
<img src="images/logo.svg" alt="logo" />
<span id="span-general">
<div id="spanScore">SCORE</div>
<h1 id="score" style="text-align: center;padding:10px;">0</h1>
</span>
</div>
<div id="form1">
<section id="grid">
<input type="radio" name="radioname1" id="rd1" onclick="jouer()" />
<input type="radio" name="radioname1" id="rd2" onclick="jouer()" />
<input type="radio" name="radioname1" id="rd3" onclick="jouer()" />
</section>
</div>
<div id="form2" style="display:none;">
<section id="grid2">
<div id="joeur">
<h1 id="picked1" style="color: white;padding: 40px;">your picked</h1>
<input type="radio" name="radioname2" id="rd1-2" onclick="" style="display: none;padding-top: 30px;" />
<input type="radio" name="radioname2" id="rd2-2" onclick="" style="display: none;padding-top: 30px;" />
<input type="radio" name="radioname2" id="rd3-2" onclick="" style="display: none;padding-top: 30px;" />
</div>
<div id="win-lost">
<h1 id="picked2" style="color:white;font-size:35px; padding: 40px;"></h1>
<button id="play-again" onclick="play_again()">Play Again</button>
</div>
<div id="ordinateur">
<h1 id="picked3" style="color: white;padding: 40px;">The house picked</h1>
<input type="radio" name="radioname3" id="rd1-2" style="display: none;" />
<input type="radio" name="radioname3" id="rd2-2" style="display: none;" />
<input type="radio" name="radioname3" id="rd3-2" style="display: none;" />
</div>
</section>
</div>
<div id="button_rules"><button id="rules" onclick="rules()">RULES</button></div>
<section id="form-popup">
<span style="float: left;font-size: x-large;color: darkblue;">RULES</span>
<img src="images/icon-close.svg" Onclick="document.getElementById('form-popup').style.display='none'"
id="img-close" />
<img src="images/bonus1.png" style="width:220px;height:200px;padding:20px;">
</section>
</article>
</body>
</html>