Todo App using HTML, CSS, Sass and Javascript

Solution retrospective
Hello everyone,
It was an awesome challenge I've learned a lot while making it. I took 3 days for completing it. I'm very much new to Javascript so I spent more time in Javascript.
In future I really want to make this project in React.
Do feedback me So I can improve JS :)
Thanks and looking forward to your feedback!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @maksimcoder
Hello, Aayushi, I've looked through your JS code and have some tips for you as I would do if I were you.
- When you create a function createtodoElement(val) use Class in order to automate and avoid repeating your code.
- When you're adding an eventListener on footer buttons, use cycles or forEach method to automate the process. (activeBtn.classList.remove("active"); completedBtn.classList.remove("active"); => footerBtns.forEach(item => item.classList.remove('active');) I hope this tips will help you in future even if you knew them before. By the way, I'm currently working on this project and that's awesome that you did it!
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