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 comments section built using react

#react#tailwind-css#framer-motion
P

@daniloparrajr

Desktop design screenshot for the Interactive comments section coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello everyone 👋

I have a lot of fun doing this challenge, I explored doing recursive components in react, and animations using framer motion.

Managing states is something to get used to in react, I have a hard time wrapping my head around it. 😅

Please let me know if there anything I can improve and hopefully someone can learn something on this challenge as well

Community feedback

Travolgi 🍕 31,480

@denielden

Posted

Hello Danilo, You have done a good work! 😁

Only 2 tips to improve your code:

  • if I click on the upvote button I can increase it to infinity and not just by 1 point. add a control
  • i can comment also with empty comment or with blanks, add a control... The trim() method can help you -> read here

Keep learning how to code with your amazing solutions to challenges.

Hope this help 😉 and Happy coding!

Marked as helpful

1

P

@daniloparrajr

Posted

@denielden Thank you! I completely overlooked that 😅

1
Travolgi 🍕 31,480

@denielden

Posted

@daniloparrajr you are welcome and keep it up :)

0

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