todo-today
  •   15/06/22

(I have been busy enjoying my summer, so this post comes quite late relative to the project(s) contained within. Below is a (mostly) chronological log of the work I've done for the end of May. I just finished another project that I started in early June, and a post on that will be coming soon!)

May 20 2022:
I realised that I'm not very good at naming my projects as you can probably tell. Anyway I digress; I've been making some good progress on the todo "app" (I'm not sure it qualifies as one but let's call it that for now) which I briefly mentioned in my previous post.

todo-today
On hindsight, not a great shade of yellow/beige

Most of what you see is placeholder content, but at least I've got the layout down for now.

Also, I guess I never learn—even after an absolutely tragic attempt at implementing light/dark mode for my personal website, I still went and tried to implement simple custom themes for this app. But the scope of this app is much smaller, so thankfully everything worked out in the end. I even managed to drastically mitigate the flickering on reload, but that's likely in no small part due to the app only having two real sections to switch between.

With how it's set up in the css file, it's no problem to add even more themes down the line (the hard part is coming up with good colour schemes).

todo-today theme code snippet
Structure of themes in the css file

That said, the app is still not fully operational; here's a short list of what to work on next:

The UI right now also doesn't really accommodate for more than about 5 categories or notes. And it's pretty much unusable on mobile. But I just want to get it working for now.

At this juncture I'm also thinking about converting the web app into a desktop app using something like Electron2. It would be nice to design an app icon for that too.

May 21 2022:

todo-today-v2
A much better shade of yellow/beige

May 21 2022 (late evening):

May 22 2022:

I have also decided that implementing javascript animations is too complex and unnecessary for the time being, so I will redirect my focus to making a somewhat passable MVP, so that means working on a notes portion of the app (which I initially set out to do).

todo-today-v3
localStorage works, and so does deletion of todos

May 23 2022:

todo-today-v4
You can delete a note by double-clicking on it

May 24 2022:
Launched the project using Netlify. Now live on todo-today-simple.netlify.app. Please don't visit it on mobile, it is very much broken there (my bad). This will do for now. At least it works, if somewhat clunkily.

As an aside, my favourite theme is "Wine":

todo-today-wine

!!! BONUS !!!
My fingers were still itching so I decided to create another simple app, adapted from the 8 ball mini project from codecademy's basic javascript crash course:

magic 8 ball app
Ask your most burning questions

The code for this is particularly simple:

magic 8 ball simple code

Also live on magic-8-ball-simple.netlify.app. It was relatively quick to put together. I think I'm getting warmed up to web programming! Next up, learning React. This might just be me learning to fly before walking but let's see how things go.


1. I could not. Unfortunately, a bit too complex for me right now. Keeping track of localStorage between different categories, toggling between views... seems like a much easier task with React and not vanilla HTML & CSS. Maybe next time! ↩︎

2. I looked into the process of converting web pages into Electron apps and stumbled upon many articles and guides online, but was ultimately unsuccessful. Maybe it's a good thing because Electron apps are infamously bloated. Still, it would have been cool to see this small project turn into its own native desktop app with a nice accompanying icon. ↩︎

❉︎ return to notes ⁖ return to main