8 ms·
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 inc
by lifthrasiir 2y ago
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/f46725d3e9e9d055da40b3de4b3a3232 https://gist.github.com/lifthrasiir/f46725d3e9e9d055da40b3de...
- deleted 2y ago[deleted]
- archargelod 2y agoReally 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/d121ae5377a0d09b0133b7b016973a1b https://gist.github.com/Archargelod/d121ae5377a0d09b0133b7b0...
- alex_suzuki 2y agoYou have improved nothing.
- alex_suzuki 2y agoJoke obviously lost on some…
- Gooblebrai 2y agoWhat were the main difficulties?
- lifthrasiir 2y agoImplementing 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.