Responsive Todo App using SCSS, BEM & Vanilla JS

Solution retrospective
Any feedback is welcome!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @grizhlieCodes
Hey Rab,
Before I dive into the code I spotted a potential bug:
When you add a task (by typing it in and pressing enter) the tasks below do not update, until you refresh the page. When you refresh the page you have your getLocalTodos function running.
I have a feeling this would be a super quick fix. Perhaps add your getLocalTodos function to run straight after creating a task? Up to you, I THINK that would make the app behave as intended. I'll have a deeper dive later on and either make a new comment or update this one.
Thanks for sharing your solution!
- @RabWinter
Hey thanks for reaching out. I forgot to set the 'all' filter radio input set to checked by default on page load which seems to have fixed things.
Just have a couple of small bugs in the filter section to sort out.
Cheers!
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