-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
187 lines (114 loc) · 5.57 KB
/
Copy pathindex.html
File metadata and controls
187 lines (114 loc) · 5.57 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!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 rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles/styles.css">
<title>Calculadora - Navarro</title>
</head>
<body id="body">
<div class="CajaCentral">
<aside class="aside">
<nav>
<a class="tipog" href="./cientifica.html">Canculadora cientifica</a>
</nav>
<p id="user"></p>
<h1 class="tipog">Historial:</h1>
<div class="listaHistorial" id="historial">
</div>
<footer>
<p class="pFoot">·Derechos de autor Agustin Navarro</p>
</footer>
</aside>
<header>
<div class="visor">
<div class="datosPantalla">
<h2 class="entr1 tipog" id="entr1"></h2>
<h2 class="sign tipog" id="signo"></h2>
<h2 class="entr2 tipog" id="entr2"></h2>
<p class="barra tipog">__________________________</p>
<h2 class="result tipog " id="resultado"></h2>
</div>
</div>
</header>
<main>
<div class="tablero">
<div class="uno">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(1)">1</button>
</div>
<div class="dos">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(2)">2</button>
</div>
<div class="tres">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(3)">3</button>
</div>
<div class="cuatro">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(4)">4</button>
</div>
<div class="cinco">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(5)">5</button>
</div>
<div class="seis">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(6)">6</button>
</div>
<div class="siete">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(7)">7</button>
</div>
<div class="ocho">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(8)">8</button>
</div>
<div class="nueve">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(9)">9</button>
</div>
<div class="cero">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar(0)">0</button>
</div>
<div class="suma">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar('+')">+</button>
</div>
<div class="divi">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar('/')">/</button>
</div>
<div class="multi">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar('*')">*</button>
</div>
<div class="resta">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar('-')">-</button>
</div>
<div class="igual" id="igual">
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar('Enter')">=</button>
</div>
<div class="borrar">
<button class="tipog button" onfocus="this.blur()"
onclick="Interpretar('Backspace')">←</button>
</div>
</div>
</main>
<aside class="aside2">
<div class="botonera">
<button class="tipog button" onfocus="this.blur()" onclick="MostrarPopUp()" id="botonIniSesion">Iniciar
Sesion</button>
<button class="tipog button" onfocus="this.blur()" onclick="CerrarSesion()" id="botonCerSesion">Cerrar
Sesion</button>
</div>
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar('Delete')">CE</button>
<button class="tipog button" onfocus="this.blur()" onclick="Interpretar('DMR')">Dato Matematico
Random</button>
</aside>
<div class="popup" id="popup">
<div class="IniSesion" id="CartelIniSesion">
<button class="tipog button" onfocus="this.blur()" onclick="IniciarSesion()">Ya tengo cuenta</button>
<button class="tipog button" onfocus="this.blur()" onclick="Registrarse()">Registro</button>
</div>
<button class="tipog button" onclick="Cls()">Limpiar datos</button>
<button class="tipog button" onclick="OcultarPopup()">Cerrar</button>
</div>
</div>
<script class="Pos_absol" src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="./script.js"></script>
</body>
</html>