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 Using React And Tailwind

@milosshomy

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


Any feedback?

Community feedback

Rom 780

@RomWeb3

Posted

Hey,

Nice work mate,

I see that i can upVote and downVote as many times as i want.

You should probably set a limit to one upVote & one downVote. Also user shouldn't be able to vote below 0.

I've added 3 conditions in my handleScoreChange function to make this work.

Hope it helps. Happy coding :)

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