Description from Webflow:
A little bit of custom code practice! A calculator for calculating resource amounts for mobile games.
Edit (10/17/2020): Updated the custom code to be a lot more scalable and manageable. Definitely a lot more optimization that can be done, but it was a major improvement over the old code.
Also added a check for whether or not the resources needed if positive, negative, or neutral, and used that to trigger special classes to change the color of the "Resources Needed" containers!
Tags from Webflow: