Challenge: Add Initial ValuesChallenge: Add Initial Values

Task

Initialize values for the input fields. Each input field should be assigned an initial value based on the value of the name prop. Follow the steps below:

Follow the steps:

  • Initialize the firstName field with an empty string.
  • Initialize the lastName field with an empty string.
  • Initialize the mail field with an empty string.
Hint
1. To set the initial value for the input field responsible for the user's first name, use the firstName value.

2. To set the initial value for the input field responsible for the user's last name, use the lastName value.

3. To set the initial value for the input field responsible for the user's email, use the mail value.

Everything was clear?

Section 4. Chapter 11