Hacker News new | past | comments | ask | show | jobs | submit login

This is how I—a frontend developer—would write this quickly:

https://runarberg.github.io/calculator-display/

repo: https://github.com/runarberg/calculator-display

MDN Playground: https://developer.mozilla.org/en-US/play?id=0pEoA2OCnfwNLV3E...

Actually I would have simply included a woff2 file with a font that does the job and displayed that text in that font, but I wanted this to fit in a reasonably sized data-url, and didn’t want the extra assets.




A really interesting alternative take




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: