
Design comparison
Solution retrospective
Proud of how I was able to use different states to store temporary data like comments and replies before publishing them, and to avoid errors.
What challenges did you encounter, and how did you overcome them?Being able to complete the logic behind editing and adding replies was the most challenging part due to the way they were nested within each other. I managed it by adding up to three parameters to the functions to identify the different IDs of both the comment and the reply, and by activating states to show or hide the forms.
What specific areas of your project would you like help with?"Any feedback is welcome! I tried to create as many components as possible to reuse them separately and make the main code cleaner. I'm not sure if the comments should be ordered based on their score.
Community feedback
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