-
Notifications
You must be signed in to change notification settings - Fork 0
/
multiplica.php
88 lines (88 loc) · 3.04 KB
/
multiplica.php
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
<?php
?>
<!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">
<title>Sudoku Matemático</title>
<link rel="stylesheet" href="estilo_multiplica.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<header>
<?php include "header.php"; ?>
</header>
<body>
<br>
<div class="container">
<h1>Multiplicación</h1>
<table>
<tr>
<td class="no-contiene" id="0" ondrop="drop(event)" ondragover="allowDrop(event)"></td>
<td class="contiene">*</td>
<td class="contiene">2</td>
<td class="contiene">=</td>
<td class="no-contiene" id="1" ondrop="drop(event)" ondragover="allowDrop(event)"></td>
</tr>
<tr>
<td class="contiene">*</td>
<td></td>
<td class="contiene">*</td>
<td></td>
<td class="contiene">*</td>
</tr>
<tr>
<td class="no-contiene" id="2" ondrop="drop(event)" ondragover="allowDrop(event)"></td>
<td class="contiene">*</td>
<td class="contiene">1</td>
<td class="contiene">=</td>
<td class="no-contiene" id="3" ondrop="drop(event)" ondragover="allowDrop(event)"></td>
</tr>
<tr>
<td class="contiene">=</td>
<td></td>
<td class="contiene">=</td>
<td></td>
<td class="contiene">=</td>
</tr>
<tr>
<td class="contiene">28</td>
<td class="contiene">*</td>
<td class="no-contiene" id="4" ondrop="drop(event)" ondragover="allowDrop(event)"></td>
<td class="contiene">=</td>
<td class="contiene">56</td>
</tr>
</table>
<br>
<div class="container-alternatives">
<div class="box" draggable="true" ondragstart="drag(event)" id="a">7</div>
<div class="box" draggable="true" ondragstart="drag(event)" id="b">14</div>
<div class="box" draggable="true" ondragstart="drag(event)" id="c">4</div>
<div class="box" draggable="true" ondragstart="drag(event)" id="d">4</div>
<div class="box" draggable="true" ondragstart="drag(event)" id="e">2</div>
</div>
<br>
<div class="frame">
<div class="time" id="time">00:00:00.000</div>
<div class="button-container">
<div class="btn" onclick="start()">
<i class="fas fa-play"></i>
</div>
<div class="btn" onclick="pause()">
<i class="fas fa-pause"></i>
</div>
<div class="btn" onclick="restart()">
<i class="fas fa-undo-alt"></i>
</div>
</div>
</div>
<br>
<div class="resultado">
<h2>Resuelve el sudoku y verás aqui el resultado</h2>
</div>
</div>
<script src="multiplica.js"></script>
<script src="time.js"></script>
</body>
</html>