Comments Section Vanilla JS, SCSS and BEM Notation.
Design comparison
Solution retrospective
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.
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! :)
Community feedback
- @TPAIN22Posted 2 months ago
why i cant upvote a comment or reply ??
0@GeorgeKandelakiPosted 2 months ago@TPAIN22 OH Sorry, I forgot to add that feature. I will update the code right away. Thanks for noticing!
0@GeorgeKandelakiPosted 2 months ago@TPAIN22 Thanks for noticing. I fixed the problem, Plus I have Improved My Skills and got Better At Writing Code. Thanks!
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