-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (29 loc) · 1.33 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
<!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 type="text/css" href="./style.css" rel="StyleSheet"></Link>
<title>ejercicios VanillaJS</title>
</head>
<body>
<div class="contenedor">
<button onclick="jugador1()">jugador1</button>
<button onclick="jugador2()">jugador2</button>
<div class="cuadro">
<div id="1" onclick="handleClick(event)"></div>
<div id="2" onclick="handleClick(event)"></div>
<div id="3" onclick="handleClick(event)"></div>
<div id="4" onclick="handleClick(event)"></div>
<div id="5" onclick="handleClick(event)"></div>
<div id="6" onclick="handleClick(event)"></div>
<div id="7" onclick="handleClick(event)"></div>
<div id="8" onclick="handleClick(event)"></div>
<div id="9" onclick="handleClick(event)"></div>
</div>
<button onclick="reload()">Nueva Partida</button>
</div>
</body>
<script src="./index.js"></script>
</html>