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.
Takk for tilbakemeldingene dine!
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Still meg spørsmål om dette emnet
Oppsummer dette kapittelet
Vis eksempler fra virkeligheten
Awesome!
Completion rate improved to 1.96
Challenge: Validation
Sveip for å vise menyen
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.
Takk for tilbakemeldingene dine!