Post

So, today I built `<calc-input>`. It’s a custom input element that accepts mathematical formulas β€” such as 2 + 3 or (2 + 3) * 4 β€” and automatically toggles between showing the formula on focus and the calculated result on blur. β†’ brm.us/calc-input

Bramus@bram.us

Oh no. I managed to nerd snipe myself into Yet Another Side Projectβ„’ … again. Noooooo. #TooManyIdeas

I had to implement this at work a couple of years ago, it was actually quite fun to build That one also had a *totally unnecessary* small floating numpad showing up below the input field on focus just to highlight that it accepted formulas lol

Hehe, perhaps I should add that as well πŸ˜†

0 reposts0 likes

No replies yet.