Skip to content
Submitted over 3 years ago

Todo App: LocalStorage, light/dark mode, Sveltekit (TS) & Tailwindcss

svelte, tailwind-css, typescript, accessibility
LVL 4
Antoine C1,260
@mattari97
A solution to the Todo app challenge

Solution retrospective


Hello everyone.

This project was a good practice to localStorage w/ writables in Sveltekit. I ran in multiple problems w/ tha SSR part of the app.

I plan to come back to it and implement drag&drop on my own. I managed to make it work w/ MouseEvent but it would always break w/ TouchEvent.

Any advice/ressources on that matter would be great.

Also, do you know a way to prevent the page from "flashing" on initial load when the store theme mode is yet to be retreived from the storage. It will always be the default value for a short moment before eventualy switching to the user setting.

Have a nice day/night. Peace

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Antoine C’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