Challenge: Form Submission
Task
Add the logic to handle the form submission. Since we are not working with a real server, we will display the form data in the console and in the alert. Follow the steps below:
- Target the input field value responsible for the user's first name and assign its value to the
userNamevariable. - Target the input field value responsible for the user's last name and assign its value to the
userLastNamevariable. - Target the input field value responsible for the user's mail and assign its value to the
userMailvariable.
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 4. Capítulo 12
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 1.96
Challenge: Form Submission
Desliza para mostrar el menú
Task
Add the logic to handle the form submission. Since we are not working with a real server, we will display the form data in the console and in the alert. Follow the steps below:
- Target the input field value responsible for the user's first name and assign its value to the
userNamevariable. - Target the input field value responsible for the user's last name and assign its value to the
userLastNamevariable. - Target the input field value responsible for the user's mail and assign its value to the
userMailvariable.
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 4. Capítulo 12