Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Comments Section Vanilla JS, SCSS and BEM Notation.

bem, sass/scss
George Kandelaki•820
@GeorgeKandelaki
A solution to the Interactive comments section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am proud of myself, that I did this challenge. When I first saw it, I had already given up on it, but then I remembered the quote "Just Do It!" and right now I did complete it with Vanilla JS. I am also proud of how I am getting better a Writing Code and Improving my Skills. I believe that the Code I Wrote is Reusable, DRY, has Small Amounts of Repetitions, is Clean and Readable. I also Improve my Skills with working data, where in past I didn't even know how to work with data.

What challenges did you encounter, and how did you overcome them?

I encountered many challenges. Like searching for replies, it was really difficult, because replies are nested and the most hardest part was deleting the comments, also I didn't know that splice() method is used for deleting elements, and that made deleting elements really hard. Lucky for me I learnt new thing, which is Recursion. I had to use recursion to search and delete elements in the data.

What specific areas of your project would you like help with?

I don't have any questions. Every feedback is gladly welcomed. Also Please tell me my mistakes especially in JavaScript, So I can get better at Writing Code and Improve My Skills. Thanks a lot! :)

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on George Kandelaki's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License