Interactive Comment Section - React.js

Solution retrospective
Hello World ! Nice to see you there :)
This is my solution to the FrontendMentor.io challenge : Interactive comment section !
It was also a good challenge to develop my coding skills with React. First time using Hooks, LocalStorage and SaSS for design.
I'd encounter some difficulty with fetching data and working with public & src folder (especially for the dynamical rendering of profile picture).
Thanks for taking time to review my solution ! Any advice accepted ! Happy coding :)
Please log in to post a comment
Log in with GitHubCommunity feedback
- @elaineleung
Hi Bazthos, well done building this out with React! This looks great, and everything works fine for me. I suggest adding
cursor: pointer
for all the clickable elements since that's also in the design and also that just makes for better user experience when it's clear to them that the element is interactive. Also, for the upvoting and downvoting comments, I think that should only go up or down by one step because right now, I can keep voting up and/or down and can give someone 10 votes if I wanted to. If you look at Reddit for instance, after clicking on the up/down vote, when you click on it again, it would get unclicked instead of adding another vote. So anyway, I would most probably add in some logic to make sure only one vote is counted.Great job, and looking forward to more!
Marked as helpful
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