Feature Rich Component - Copy this React, Tailwind Component to your project
Build a simple front end application that leads a user through a series of questions. Questions should be defined as data (with the expectation that future versions will be provided by a backend service). Initial Questions 1. Does your business operate in CA? [Yes, No] If “Yes”, go to 2. If “No”, go to END. 2. How many employees do you have? If more than 100, goto END. Else, go to 3. 3. Do you serve food? [Yes, No] If “Yes”, goto 4. If “No”, goto 6. 4. Do you serve hot food? [Yes, No] 5. Are you open past midnight? [Yes, No] Front End Assessment 2 6. Do you host live music? [Yes, No] End: Display a “Thank You” message with a list of questions and answers. The application should be able to: Display a question and an input control for the use to provide the answer. Display a history of past questions and user answers. Allow the user to navigate back to the previous question and change their answer.
