-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (32 loc) · 1.25 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
<!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>Document</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<form id='form-integrantes'>
<label for="cantidad-integrantes">Ingrese cantidad de integrantes</label>
<input type="number" name="integrantes" id="cantidad-integrantes">
<button type="submit" id="siguiente-paso">Siguiente</button>
</form>
<form id="form-edades">
<div id="place-holder">
</div>
<button type="submit" id="calcular" class="oculto">Calcular</button>
</form>
<div id="analisis" class="oculto">
<p>La edad mayor es: <strong id="mayor-edad"></strong></p>
<p>La menor edad es: <strong id="menor-edad"></strong></p>
<p>El promedio de edad es: <strong id="promedio-edad"></strong></p>
<button type="reset" id="resetear">Resetear</button>
</div>
</body>
<script src="calculos.js"></script>
<script src="validaciones.js"></script>
<script src="pruebas.js"></script>
<script src="tarea-clase-6.js"></script>
</html>