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

Responsive To-do List

Gabriela•100
@ga-bri-ela
A solution to the Todo app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hi everyone!

This was a very fun project and I definitely learned a lot in the process. 🙃

I do have a question for the community on something I could not figure out. I have managed to add the drag and drop functionality to my desktop version using the eventlistener "dragstart" and "dragend". But once I tried to add it to the mobile using "touchmove" and "touchend" (and adjusting the rest of the code accordingly) it didnt work. All the tutorials I could find said that the position of the element had to be set as "absolute". But I as have used the HTML tag "<template>" to create new to-dos all the new submitted tasks where going on top each other and everything very quickly became a hot mess.

I would love to be able to add the drag and drop to the mobile version as well. Does anyone have any advice on how I could accomplish that?

Thank you in advance! Other feedback and comments are always welcomed as well!

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 Gabriela'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