Files
2026-05-27 03:36:21 -03:00

17 lines
581 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Ejercicio 4</title>
<link rel="stylesheet" href="estilo.css">
</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>