Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 3 years ago

TODO app solution with localStorage and drag and drop funcionality

sass/scss
Mateusz•180
@userMatMik
A solution to the Todo app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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 :)

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License