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

book
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 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.

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 4. Capitolo 12

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

We use cookies to make your experience better!
some-alt