Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive Card using hooks in React JS

@Rafael-Urei

Desktop design screenshot for the Interactive card details form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I have difficulties to input errors, and to connect items, for example: I wanted to show error message according to what input I was typing or what value I was changing. I tried Map, Filter, Reducer, Object.values(), and I cannot make it done. Whats is the best way to to this? using many useState(), useReducer() or simply using useState({name: '', number: ''}), or using an Array. I want some help and advices, please, I want to improve more and more.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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