Exercise 8: Pizza Party
I think my default is now Vue - I'm getting lazy. I have the numeric validation figured out and the hooks, so it's just easy to cut and paste and modify. Or fork and set as base and modify, if you're fiddling. The big rule in this exercise...no partial pieces of pizza.
There's a part b to ask how many pieces each person wants and then calculate full pizzas. That's primarily different math, but I"m going to do it anyway.
The JSFiddle: https://jsfiddle.net/NodToNothing/tuv89sf6/
No comments:
Post a Comment