Design comparison
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 :)
Community feedback
- @elaineleungPosted about 2 years ago
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 helpful1@BazthosPosted about 2 years ago@elaineleung Hi Elaine !
Thanks for reviewing my solution.
Concerning the design, I had forgotten to focus on it, I worked on the hover / animation / cursor . Hopefully this new version is more acceptable :)
For the votes, I revised the system to allow only one vote. I had focused too much on the possibility to sort the comments according to the votes.
Thanks again for your comment, it allowed me to review my solution and to realize that I was trying a little too hard to rush the interactivity before finished the design.
Happy coding :)
1@elaineleungPosted about 2 years ago@Bazthos Glad to help! It's happened to me too where I left things out accidentally. That's what I love about the FEM community; there's usually a couple other pairs of eyes out there helping to check!
0
Please log in to post a comment
Log in with GitHubJoin 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