Challenge: 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.
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 11
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Ask me questions about this topic
Summarize this chapter
Show real-world examples
Awesome!
Completion rate improved to 1.96
Challenge: Add Initial Values
Swipe to show menu
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.
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 11