Todo App with SASS/vanilla JS + added search function

Solution retrospective
Hi guys,
Please provide some feedback. :)
The app isnt perfect, I still have some problems to fix:
-
background-image: url("../../../assets/icon-check.svg");
This is my file path for the check mark inside the button. However, github pages isnt displaying it. Isnt that the relative file path to be used if the file is 3 layers deep? -
The draggable feature works on the todo items that are already there. However, the code breaks once new todos are added? What am I doing wrong?
Thanks guys :)
Please log in to post a comment
Log in with GitHubCommunity feedback
- @byronbyron
@DanK1368 Looks good!
background-image: url(../../assets/icon-check.svg);
will get you the checkbox!- It sounds like your todo ids aren't correctly being set. I had a similar problem and solved it by using SortableJS and nanoid
Marked as helpful
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