Ejercicio bucle o ciclo
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title>Mi historia fantástica</title> <style> body { font-family: Arial, sans-serif; margin: 20px; } #cuento { margin-top: 20px; padding: 15px; border: 1px solid #ccc; background-color: #eef; border-radius: 8px; } </style> </head> <body> <h2>Completa el formulario para crear tu historia</h2> <form id="formulario"> <label for="nombre">Nombre:</label> <input type="text" id="nombre" required><br><br> <label for="edad">Edad:</label> <input type="number" id="edad" required><br><br> ...