# Role of JSON and CSS in calculator?

**URL:** <https://community.glideapps.com/t/role-of-json-and-css-in-calculator/71402>\
**Category:** Ask for Help\
**Created:** [March 4, 2024, 6:18pm UTC](https://community.glideapps.com/t/role-of-json-and-css-in-calculator/71402 "2024-03-04T18:18:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric-g](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric-g/32/64279_2.png) [@Eric-g](https://community.glideapps.com/u/Eric-g)\
**Post date:** [March 4, 2024, 6:18pm UTC](https://community.glideapps.com/t/role-of-json-and-css-in-calculator/71402/1 "2024-03-04T18:18:29Z")

</div>

How effective are both JSON and CSS languages in creating a calorie calculator similar to the one depicted in the screenshot below?

 ![Screenshot_22](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/9/596871e4228f1ceff5afeb1c32e030cb76eed534.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 4, 2024, 11:45pm UTC](https://community.glideapps.com/t/role-of-json-and-css-in-calculator/71402/2 "2024-03-04T23:45:35Z")

</div>

I don’t think JSON or CSS is the main thing here. How are you storing/retrieving data when a user chooses a drink type? Do you have it stored in advance or are you calling an API?
