I was right. The simple math exercise was really, really simple. Use Vue and it'll lock the format to numeric, has a UI, autoupdates the answers and, with a min and a bit of javascript (validity.valid) enforces 0+, aka no negative numbers, per the exercise challenges.
Fiddle:
https://jsfiddle.net/NodToNothing/f18vahdp
Fiddles:
https://jsfiddle.net/user/NodToNothing/fiddles/
Output working as advertised:
The Fiddle code...
No comments:
Post a Comment