Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 22 days ago

To do App with vanilla Javascript and Sortable JS

accessibility, theme-ui
P
Karen Lissette Benites Segura•80
@Karen-Benites
A solution to the Todo app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

This was my first time working with the DOM, and I learned a lot throughout the process. I got hands-on experience handling not only click events, but also screen resize events. I also took the opportunity to reflect on function design—understanding when and why to wrap code in reusable functions to make my script cleaner and more efficient.

To ensure I was following clean code practices, I added prettier and eslint to check basic coding rules that I personally like to follow. These tools helped me make sure that those principles are applied throughout the entire project.

When it comes to styling, I explored how to implement a dark theme using existing CSS classes and specificity, avoiding unnecessary or redundant CSS rules.

What challenges did you encounter, and how did you overcome them?

One unexpected challenge was dealing with styling issues on mobile browsers, particularly in Chrome. I discovered that Android often applies default styles to elements like scrollbars and sticky hover states, which are very difficult to override with CSS. These limitations forced me to rethink and redesign certain parts of the interface to ensure a better user experience.

The toughest part of the project was managing the interaction between drag-and-drop functionality and vertical scrolling on mobile devices. Scrolling through draggable tasks was frustrating, so I ended up adding space on the right side of the task container to enable smooth scrolling without interfering with drag-and-drop.

I also had my first experience handling form data directly from HTML, which was a great learning opportunity.

💡 CSS tip: Check out how I implemented dark theme styles by reusing existing CSS classes effectively.

What specific areas of your project would you like help with?

If someone knows how to add custom styles (especially width) to scrollbar on Chrome mobile, it would be very helpful. I haven't found and effective way yet.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Karen Lissette Benites Segura'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
Frontend Mentor logo

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

Frontend Mentor

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

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub