-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (59 loc) · 2.81 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header class="header">
<h1 class="header__title">Ejercicios del DOM</h1>
</header>
<nav class="nav">
<ul class="menulist">
<li class="menulist__item"><a href="#section-1" class="menulist__link">Reloj y Alarma</a></li>
<li class="menulist__item"><a href="#section-2" class="menulist__link">Eventos del teclado</a></li>
<li class="menulist__item"><a href="#section-3" class="menulist__link">Cuenta Regresiva</a></li>
<li class="menulist__item"><a href="#section-4" class="menulist__link">Sección 4</a></li>
<li class="menulist__item"><a href="#section-5" class="menulist__link">Sección 5</a></li>
</ul>
</nav>
<button class="button-to-top"></button>
<button class="button-toggle"><span class="toggle-line"></span></button>
<main class="main">
<section class="section" id="section-1">
<h2 class="section__title">Reloj y de alarma</h2>
<time class="time" id="time"></time>
<div class="controls-clock">
<button class="button-clock" id="startClock">Iniciar Reloj</button>
<button class="button-clock" id="pauseClock">Detener Reloj</button>
<button class="button-clock" id="startAlarm">Iniciar Alarma</button>
<button class="button-clock" id="pauseAlarm">Detener Alarma</button>
</div>
</section>
<section class="section" id="section-2">
<h2 class="section__title">Eventos del teclado</h2>
<div class="container-box" id="container-box">
<div class="ball" id="ball"></div>
</div>
</section>
<section class="section" id="section-3">
<h2 class="section__title">Cuenta Regresiva</h2>
<div class="formCountDown" id="formCountDown">
<input type="datetime-local" name="datetime-local" id="limitDateTime" class="limitDateTime">
<button type="button" class="startCountDown">Iniciar Cuenta Regresiva</button>
<button type="button" class="stopCountDown" disabled>Detener Cuenta Regresiva</button>
</div>
<div class="countDown" id="countDown">Faltan - - - días - - horas - - minutos - - segundos</div>
</section>
<section class="section" id="section-4">
<h2 class="section__title">Sección 4</h2>
</section>
<section class="section" id="section-5">
<h2 class="section__title">Sección 5</h2>
</section>
</main>
<script src="js/index.js" type="module"></script>
</body>
</html>