Submitted over 2 years ago
Expenses chart, simple HTML, CSS, JavaScript. First solution
@Daniil034
Design comparison
SolutionDesign
Solution retrospective
Hello everyone! I would really appreciate your contribution if you looked at my code! This is my first solution so, please, no offense) Some issues bother me. First is BEM. Did I do it well or there are approaches that could help avoid repetative code? Second is JS. I have doubts about how I implemented showing sum of money. I needed to add innerHTML inside the block I didn't pick by .querySelector() and I chose a bandle of parentNode.nextElementSibling.innerHTML and I'm not sure whether this approach is okay or not. Any other recommendations are welcome! Thank you
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