
Design comparison
Solution retrospective
I created two components , one for the Card and one SuccessCard for the success message after submission .
i used useState to get hold of the email input with help of FormData and another useState for the errors .
then i conditionally rendered whats shown on screen based on a third useState in the App component , by passing two props to the Card and SuccessCard.
What specific areas of your project would you like help with?i am open to suggestions on improvements or if there are other simpler ways to do this challenge .
i could not replicate the same design and i could use some help with that .
Community feedback
- P@martinianolPosted 5 days ago
Hi Sena It would have been nice to pass the entered email to the SuccessCard. Just pass it as a prop.
Need to work on the responsiveness between mobile and desktop
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord