-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
171 lines (166 loc) · 6.8 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
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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="assets/css/styles.css" type="text/css" />
<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=Farsan&display=swap"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/png">
<title>Notas Guru</title>
</head>
<body>
<header
class="container d-flex justify-content-center flex-column text-center"
>
<div id="logo">
<img src="assets/img/logo.png" alt="loguito" />
</div>
<h1>Calculadora de notas</h1>
</header>
<main class="container">
<table class="">
<thead id="primero" class="text-center">
<th>evaluaciones</th>
<th>porcentaje</th>
<th>nota</th>
<th>general</th>
</thead>
<tbody>
<tr>
<td class="corte">primer corte</td>
<td class="boton" colspan="3">
</td>
</tr>
<tr class="parcial">
<!--parcial-->
<td>parcial</td>
<td><input type="number" id="porcentajeParcial" min="0" max="100" step="5" readonly/></td>
<td><input type="number" id="notaParcial" class="notaParcial " min="0" max="5" step="0.1"/></td>
<td><input type="number" id="generalParcial" readonly /></td>
</tr>
<tr class="quiz">
<!--quiz-->
<td>quiz</td>
<td><input type="number" min="0" max="100" step="5" id="porcentajeQuiz" readonly /></td>
<td><input type="number" id="notaQuiz" class="notaQuiz " min="0" max="5" step="0.1"/></td>
<td><input type="number" id="generalQuiz" readonly /></td>
</tr>
<tr class="trabajo">
<!--trabajo-->
<td>trabajo</td>
<td><input type="number" min="0" max="100" step="5" id="porcentajetrabajo" readonly/></td>
<td><input type="number" id="notaTrabajo" class="notaTrabajo" min="0" max="5" step="0.1" /></td>
<td><input type="number" id="generalTrabajo" readonly /></td>
</tr>
<tr class="total">
<!--total-->
<td class="totally">Total</td>
<td></td>
<td><input type="number" id="resultado" readonly class="cambiarColor"/></td>
<td><input type="number" id="generalTotal" readonly /></td>
</tr>
<tr class="vacio"></tr>
<!-- _____________________corte dos_______ _______________-->
<tr>
<td class="corte">segundo corte</td>
<td class="boton" colspan="3">
</td>
</tr>
<tr class="parcial">
<td>parcial</td>
<td><input type="number" id="porcentajeParcial2" min="0" max="100" step="5" readonly/></td>
<td><input type="number" id="notaParcial2" class="notaParcial2 " min="0" max="5" step="0.1"/></td>
<td><input type="number" id="generalParcial2" readonly /></td>
</tr>
<tr class="quiz">
<td>quiz</td>
<td><input type="number" min="0" max="100" step="5" id="porcentajeQuiz2"readonly/></td>
<td><input type="number" id="notaQuiz2" class="notaQuiz2 " min="0" max="5" step="0.1"/></td>
<td><input type="number" id="generalQuiz2" readonly /></td>
</tr>
<tr class="trabajo">
<td>trabajo</td>
<td><input type="number" min="0" max="100" step="5" id="porcentajetrabajo2"readonly/></td>
<td><input type="number" id="notaTrabajo2" class="notaTrabajo2" min="0" max="5" step="0.1"/></td>
<td><input type="number" id="generalTrabajo2" readonly /></td>
</tr>
<tr class="total">
<td class="totally">Total</td>
<td></td>
<td><input type="number" id="resultado2" readonly class="cambiarColor" /></td>
<td><input type="number" id="generalTotal2" readonly /></td>
</tr>
<tr class="vacio"></tr>
<!-- _____________________corte tres_______ _______________-->
<tr>
<td class="corte">tercer corte</td>
<td class="boton" colspan="3">
</td>
</tr>
<tr class="parcial">
<td>parcial</td>
<td><input type="number" min="0" max="100" step="5" id="porcentajeParcial3"readonly/></td>
<td><input type="number" id="notaParcial3" class="notaParcial3 " min="0" max="5" step="0.1"/></td>
<td><input type="number" id="generalParcial3" readonly /></td>
</tr>
<tr class="quiz">
<td>quiz</td>
<td><input type="number" min="0" max="100" step="5" id="porcentajeQuiz3"readonly/></td>
<td><input type="number" id="notaQuiz3" class="notaQuiz3" min="0" max="5" step="0.1"/></td>
<td><input type="number" id="generalQuiz3" readonly /></td>
</tr>
<tr class="trabajo">
<td>trabajo</td>
<td><input type="number" min="0" max="100" step="5" id="porcentajetrabajo3"readonly/></td>
<td><input type="number" id="notaTrabajo3" class="notaTrabajo3" min="0" max="5" step="0.1"/></td>
<td><input type="number" id="generalTrabajo3" readonly /></td>
</tr>
<tr class="total">
<td class="totally">Total</td>
<td></td>
<td><input type="number" id="resultado3" readonly class="cambiarColor" /></td>
<td><input type="number" id="generalTotal3" readonly /></td>
</tr>
<tr class="vacio"></tr>
<!--__________________botones de abajo __________________________-->
<tr class="total">
<td class="totally">Promedio Total</td>
<td>100%</td>
<td colspan="2">
<input type="number" id="resultadoSuperior" readonly class="cambiarColor" />
</td>
</tr>
<tr class="vacio"></tr>
<tr>
<td colspan="4" class="text-center pt-3">
<button id="borrar" class="btn" >
<span>Borrar</span>
</button>
<p></p>
<!--<button onclick="restablecerPorcentaje()">Borrar Porcentaje</button>-->
</td>
</tr>
</tbody>
</table>
<div id="mensaje"></div>
</main>
<footer></footer>
<script type="module" src="assets/js/app.js"></script>
</body>
</html>