The challenge is to complete the lead form written with ReactJs following the requirements.
- add the validation to the Zip Code page as it is on the previous page. If the zip code field is empty show the error message to let the user know that this field is required
- build a new page the Address page that should have the same layout as the Zip Code page and consist of:
- Main question: Let's Learn About Your Home
- Secondary Question: Next, enter your property's street address
- Input with a placeholder: Enter street address
- Continue Button with a text: Show Me Results
- the Address page should have it's own input validation
- the Zip Code Page should lead to the Address page if the validation is passed
- log the entire Lead Form state to the console when the user clicks on the Show Me Results button
How to attempt this challenge:
- Create a new repo in your account and note the git url
- Clone this repo (Do not fork!)
- Solve the challenge
- Set your new repo as the origin:
git remote set-url origin ${your repo url} - Push your solution to your repo
You must follow these steps for your solution to be accepted -- forks or other methods will not be considered.