Commit Graph

81 Commits

Author SHA1 Message Date
filifa 25189661c7 handle unary minus 2025-12-11 23:49:34 -05:00
filifa 42d2e94fe6 try disabling buttons when modulus is focused 2025-12-11 23:49:34 -05:00
filifa 5294860fea per MDN, change type from number to text 2025-12-11 23:49:34 -05:00
filifa e2c6b7f657 evaluate on enter 2025-12-11 23:49:34 -05:00
filifa 328c4b9e22 implement inverse key 2025-12-11 23:49:34 -05:00
filifa 972513ea75 set expr as default input 2025-12-11 23:49:34 -05:00
filifa 20c793b31b do not allow expressions in exponent 2025-12-11 23:49:34 -05:00
filifa 13bec9f40b simplify loop logic a bit 2025-12-11 23:49:34 -05:00
filifa d0f23af972 add license 2025-12-11 23:49:34 -05:00
filifa ec60951f0e get rid of variable 2025-12-11 23:49:34 -05:00
filifa f65aebcdf6 rename function 2025-12-11 23:49:34 -05:00
filifa e68a00a62c split into compute module 2025-12-11 23:49:34 -05:00
filifa 11f91330df mod result 2025-12-11 23:49:34 -05:00
filifa 0455d91928 add backspace function 2025-12-11 23:49:34 -05:00
filifa 6edffa672b fix cursor starting in wrong spot 2025-12-11 23:49:34 -05:00
filifa 5d004370e3 insert at last cursor position when pressing button 2025-12-11 23:49:34 -05:00
filifa 0bd3b5682d keep focus on currentInput 2025-12-11 23:49:34 -05:00
filifa 7fb2cbf7d9 make most of the buttons work 2025-12-11 23:49:34 -05:00
filifa 24145fffec use valid ids 2025-12-11 23:49:34 -05:00
filifa 8fa6128089 make things bigger 2025-12-11 23:49:34 -05:00
filifa 71a1c0b72c add inputmode=none 2025-12-11 23:49:34 -05:00
filifa 69a62dc4fb add backspace button 2025-12-11 23:49:34 -05:00
filifa dacf8caecf adapt for small screens 2025-12-11 23:49:34 -05:00
filifa becee9632f add meta viewport tag 2025-12-11 23:49:34 -05:00
filifa ffed91260e put result on its own row 2025-12-11 23:49:34 -05:00
filifa e03df9fb59 make output row flexbox so operator buttons don't get huge on zoom 2025-12-11 23:49:34 -05:00
filifa 8a8dc95c4c adjust layout and add extra buttons 2025-12-11 23:49:34 -05:00
filifa 37b66ce1ec use flex for modulus entry 2025-12-11 23:49:34 -05:00
filifa c8641015cf add buttons and layout 2025-12-11 23:49:34 -05:00
filifa f8324b8a30 don't mod values when pushed 2025-12-11 23:49:34 -05:00
filifa 8a75177060 initial commit 2025-12-11 23:49:34 -05:00