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.
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 4. Luku 12
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 1.96
Challenge: Form Submission
Pyyhkäise näyttääksesi valikon
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.
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 4. Luku 12