-
Notifications
You must be signed in to change notification settings - Fork 0
/
crucigrama.html
91 lines (73 loc) · 3 KB
/
crucigrama.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE HTML>
<html lang="es">
<head>
<!-- Datos que describen el documento -->
<meta charset="UTF-8" />
<meta name ="author" content ="David Gonzalez" />
<meta name ="description" content ="Crucigrama" />
<meta name ="keywords" content ="juegos,crucigramas" />
<meta name ="viewport" content ="width=device-width, initial-scale=1.0" />
<title>Escritorio Virtual</title>
<link rel="stylesheet" type="text/css" href="estilo.css" />
<link rel="stylesheet" type="text/css" href="layout.css" />
<link rel="stylesheet" type="text/css" href="crucigrama.css" />
<link rel="icon" href="multimedia/imagenes/favicon.ico"/>
<script src="js/crucigrama.js"></script>
</head>
<body>
<!-- Datos con el contenidos que aparece en el navegador -->
<header>
<h1>Escritorio Virtual</h1>
<nav>
<a href="index.html" accesskey="i" tabindex="1">Index</a>
<a href="agenda.html" accesskey="a" tabindex="2">Agenda</a>
<a href="juegos.html" accesskey="j" tabindex="3">Juegos</a>
<a href="meteorologia.html" accesskey="m" tabindex="4">Meteorologia</a>
<a href="noticias.html" accesskey="n" tabindex="5">Noticias</a>
<a href="sobremi.html" accesskey="s" tabindex="6">Sobre mi</a>
<a href="viajes.html" accesskey="v" tabindex="7">Viajes</a>
</nav>
</header>
<h2>Juegos</h2>
<header>
<nav>
<a href="memoria.html">Memoria</a>
<a href="sudoku.html">Sudoku</a>
<a href="crucigrama.html">Crucigrama Matemático</a>
</nav>
</header>
<h2> Crucigrama Matemático </h2>
<script>
const crucigrama = new Crucigrama();
</script>
<section>
<h3> Nivel </h3>
<button onclick="crucigrama.init('facil')">Fácil</button>
<button onclick="crucigrama.init('medio')">Medio</button>
<button onclick="crucigrama.init('dificil')">Difícil</button>
<pre>
</pre>
</section>
<main class="crucigrama-container">
</main>
<section data-type="botonera">
<h4> Botonera </h4>
<button onclick="crucigrama.introduceElement(1)">1</button>
<button onclick="crucigrama.introduceElement(2)">2</button>
<button onclick="crucigrama.introduceElement(3)">3</button>
<button onclick="crucigrama.introduceElement(4)">4</button>
<button onclick="crucigrama.introduceElement(5)">5</button>
<button onclick="crucigrama.introduceElement(6)">6</button>
<button onclick="crucigrama.introduceElement(7)">7</button>
<button onclick="crucigrama.introduceElement(8)">8</button>
<button onclick="crucigrama.introduceElement(9)">9</button>
<button onclick="crucigrama.introduceElement('*')">*</button>
<button onclick="crucigrama.introduceElement('+')">+</button>
<button onclick="crucigrama.introduceElement('-')">-</button>
<button onclick="crucigrama.introduceElement('/')">/</button>
</section>
<script>
crucigrama.init("facil");
</script>
</body>
</html>