-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (35 loc) · 1.34 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
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Piedra, papel y tijera</title>
</head>
<div class="cont1">
<div class="cont2">
<h1 class="titulo">PIEDRA PAPEL Y TIJERA</h1>
</div>
<hr>
<div class="cont3">
<span>PUNTAJE</span><br>
<span id="usuario"></span> : <span id="bot"></span>
</div>
<div class="cont4">
<svg width="200" height="200" id="piedra" xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="100" cy="100" r="80" stroke="#ffaf87" stroke-width="2" fill="transparent" onclick="piedra()"/>
</svg>
<svg width="200" height="200" id="papel">
<circle cx="100" cy="100" r="80" stroke="#ffaf87" stroke-width="2" fill="transparent" onclick="papel()"/>
</svg>
<svg width="200" height="200" id="tijera">
<circle cx="100" cy="100" r="80" stroke="#ffaf87" stroke-width="2" fill="transparent" onclick="tijera()"/>
</svg>
</div>
<div class="cont5">
<span id="compare" style=”display:inline-block;”></span><br/>
<p id="resultado"></p>
</div>
</div>
<body>
<script src="script.js"></script>
</body>
</html>