Submitted 1 day agoA solution to the Contact form challenge
Basic contact form using React
react
LVL 2
@akanji-00

Solution retrospective
What are you most proud of, and what would you do differently next time?
- Practicing building basic react-powered form.
- I should learn to use tailwind css for my styling.
- Setting up and validating the error fields: I just figured it out.
- The name fields being of two variables, firstName and lastName: I realised I had to create key and value pair seperately in my initialState object.
- Styling was a bit weird for me, as I try to use a lot of helper classes but it ended up getting me confused. So in the end my code is a mashup of helper class style and generic css styling. I should learn to use tailwind, especially when working with react.
Any areas requiring constructive critic. Also I wouldn't mind ideas to make the code more scalable and reusable.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on akanji-00’s solution.
Join 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