Someone reported that the text in the input field looked invisible. I fixed it using a media query with prefers-color-scheme, so I think thatโs my last fix.
It was quite a journey. More projects to come!
Day 10/10: The journey has come to an end. I now have a fully working to-do app with nice styling, I think, deployed on Netlify.
https://t.co/dThuSQLNJK
#AmberProject
Day 8 & 9/10: My app kept reloading itself, and I found out why. Leftover code was putting broken data into localStorage and reloading the page. I removed it and made the app load saved todos safely, so broken data canโt crash it anymore.
#AmberProject
Day 7/10: I spent today polishing the app. It now has a clear title that is easy to read. Empty or space-only tasks canโt be added anymore, and edit and delete still work after many changes. I also tested it on a small screen, and it looks okay.
#AmberProject
Day 6/10: I learnt what localStorage does and how JSON.stringify and JSON.parse work.
JSON.stringify converts an object into a JSON string, while JSON.parse converts a JSON string back into an object.
#AmberProject