feat: add a greeting button with validation

This commit is contained in:
2026-05-25 12:11:37 -03:00
parent 610d2530dd
commit 110ed42897
2 changed files with 13 additions and 1 deletions

View File

@@ -8,7 +8,10 @@
</head>
<body>
<h1>Ejercicio 1</h1>
<label for="name">Nombre:</label>
<input type="text" id="name" name="name">
<button id="greet">Saludar</button>
<p id="greeting"></p>
<script src="ejercicio1.js"></script>
</body>
</html>