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.
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 4. Capítulo 12
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Pergunte-me perguntas sobre este assunto
Resumir este capítulo
Mostrar exemplos do mundo real
Awesome!
Completion rate improved to 1.96
Challenge: Form Submission
Deslize para mostrar o menu
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.
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 4. Capítulo 12