ejercicio 1: contador de clicks con addEventListener

This commit is contained in:
2026-05-24 14:37:45 -03:00
parent ddefc238dc
commit 63f8bb23a3
2 changed files with 11 additions and 2 deletions

View File

@@ -9,7 +9,8 @@
<body>
<h1>Clase 9 - Eventos</h1>
<div id="ejercicio-1">
<!-- Agregar acá el código HTML que haga falta para el ejercicio 1 -->
<button id="miBoton">Hacer clic</button>
<p id="contadorClicks">Botón clickeado 0 veces</p>
</div>
<hr>
<div id="ejercicio-2">