TODO app solution with localStorage and drag and drop funcionality

Solution retrospective
This project wasn't to hard to finish, but it had few tricky challenges. The first one was to create linear gradient in checkbox border and and background. The second one was drag-and-drop funcionality.
At first I wrote my own drag-and-drop funcionality. I learned how to use events such as dragstart, dragend and dragover. It worked fine on desktop but it didnt work on mobile. I read that drag-and-drop API over all not working on mobile browsers so I've decided that I will use sortableJS library and I was really impresed how fast you can create drag-and-drop funcionality with it.
I think my main lesson from this project was that I should use libraries way more often. There is no need to invent a wheel from the beginning :)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Mateusz's solution.
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