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 Vanilla JS, SCSS and localStorage

Jakub 440

@nastaj

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


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 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