What I learned during the third Ctrl-C Webpage Jam

As the third Ctrl-C Webpage Jam, which is hosted by ~gome, comes to a close, I want to share what I learned during this year's jam.

Last year, I wrote a basic task timer here:

Last year's jam entry

It worked, but it was not pretty. This year, I decided to build on top of it and make it look and work better. The result is here:

This year's jam entry

Much better, isn't it? It even works fairly well on mobile devices.

Even though it looks very simple compared to modern websites, there are many small details that I had to take into account in order to make the page look and behave the way it does. CSS may be simple at first glance, but it has much more depth than most people realize. Unfortunately, it is also very easy to end up with a stylesheet that is basically unmaintainable.

I also practiced my JavaScript skills too. There were a lot of quality-of-life improvements that I implemented using JavaScript, such as the description field resetting after adding a task.

Here is an incomplete list of what I learned over the course of this jam:

Yeah, that's a lot. I'll probably refer to this in the future if I ever forget something. That's the main reason why I write these gemlog posts, after all.

External links

Below are a bunch of links to pages that I consider to be the most important, as they provide information on subtle details that are easy to overlook.

MDN article on margin collapsing
MDN article on the viewport meta element
reddit thread about the viewport meta element
A blog post covering rem, px, and accessibility

I might go through these CSS exercises in the future, too:

A bunch of CSS exercises
Index