Comment by edweis
Comment by edweis 4 days ago
Looking at the source code, I have never seen so many files for such a simple HTML page.
Comment by edweis 4 days ago
Looking at the source code, I have never seen so many files for such a simple HTML page.
Really cool.
I know almost nothing about web dev, but that looked like a nice quick challenge. So I spent maybe 20 minutes to get it 90% there. It's missing a portion of text below the timer and a toast. 1948 bytes
https://gist.github.com/Archargelod/d121ae5377a0d09b0133b7b0...
Implementing absolutely everything, because I wasn't sure which part was intentional or not. My version even replicates some bugs and subtle behaviors: for example the toast animation lasts 5 seconds, which is measured from the beginning of fade-in animation to the beginning of fade-out animation.
Surely a html web page and maybe 5 lines of JS could have accomplished the same thing?
Or am I missing something?
I was also quite surprised, and I took a bit of challenge to make it a single file that faithfully reproduces the exact behavior and embeds all dependencies including the web font, besides from Inter which is only used for toasts and barely distinguishable from Arial in this context. It weighs 3,123 bytes without the specifically subsetted font which takes additional 10,433 bytes.
https://gist.github.com/lifthrasiir/f46725d3e9e9d055da40b3de...