Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Form Submission | Formik
Expert React

bookChallenge: 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 userName variable.
  • Target the input field value responsible for the user's last name and assign its value to the userLastName variable.
  • Target the input field value responsible for the user's mail and assign its value to the userMail variable.

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 4. Chapitre 12

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Awesome!

Completion rate improved to 1.96

bookChallenge: Form Submission

Glissez pour afficher le 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 userName variable.
  • Target the input field value responsible for the user's last name and assign its value to the userLastName variable.
  • Target the input field value responsible for the user's mail and assign its value to the userMail variable.

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 4. Chapitre 12
some-alt