ejercicio4

This commit is contained in:
Romeo
2026-05-27 03:36:21 -03:00
parent f212ceaee5
commit e0dc767d48
2 changed files with 36 additions and 1 deletions

View File

@@ -8,7 +8,9 @@
</head>
<body>
<h1>Ejercicio 4</h1>
<button id="botonRestar" disabled="true">Restar (-)</button> <!-- desabilitamos el botonRestar de entrada, ya que empezamos en 0 -->
<button id="botonSumar">Sumar (+)</button>
<p>contador: <span id="numero">0</span></p>
<script src="ejercicio4.js"></script>
</body>
</html>