Submitted over 1 year ago
Interactive comments section using Vanilla JS, SCSS and localStorage
@nastaj
Design comparison
SolutionDesign
Solution retrospective
I wanted to challenge myself and build a CRUD app using only vanilla JavaScript without any libraries and frameworks.
I had to use some workarounds, particularly when it comes to differentiating between top-level comments and replies. The code turned out to be somehow repetetive at times, and I would like to get some feedback on the quality of those solutions.
I have also added some elements of my own, such as local storage, confirmation messages and guard clauses for empty comments. All in all, a great exercise before jumping into React.
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