forked from marquez.juan/clase-10-ejercicios-de-repaso
feat: implement counter functionality with increment and decrement buttons
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
</head>
|
||||
<body>
|
||||
<h1>Ejercicio 4</h1>
|
||||
|
||||
<p> Contador: <span id="counter">0</span></p>
|
||||
<button id="increment">Incrementar</button>
|
||||
<button id="decrement">Decrementar</button>
|
||||
<script src="ejercicio4.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user