Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Validation | Formik
Expert React
course content

Kursinnhold

Expert React

Expert React

1. React Key Concepts
2. React Router
3. Redux Toolkit
4. Formik
5. Jest
6. Next Steps

book
Challenge: Validation

Task

In this final challenge, let's implement validation logic for the input fields. The task is to check if the input field values are empty strings. If they are empty, it is necessary to display the corresponding warning messages. Follow the steps below:

  • Check if the input field responsible for the user's first name is empty.
  • Check if the input field responsible for the user's last name is empty.
  • Check if the input field responsible for the user's email is empty.

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 4. Kapittel 13
Vi beklager at noe gikk galt. Hva skjedde?
some-alt