# Calculation with Javascript and HTML based on Bubble Element

**URL:** <https://forum.bubble.io/t/calculation-with-javascript-and-html-based-on-bubble-element/191331>\
**Category:** App Organization\
**Created:** [February 12, 2022, 3:57pm UTC](https://forum.bubble.io/t/calculation-with-javascript-and-html-based-on-bubble-element/191331 "2022-02-12T15:57:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![henriqueavena](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/henriqueavena/32/118137_2.png) [@henriqueavena](https://forum.bubble.io/u/henriqueavena)\
**Post date:** [February 12, 2022, 3:57pm UTC](https://forum.bubble.io/t/calculation-with-javascript-and-html-based-on-bubble-element/191331/1 "2022-02-12T15:57:54Z")

</div>

Hi!

I’m trying to use values from Bubble input to make calculations inside the HTML element.

I tried using the ID Attribute.

I’m building an App that has a lot of complex calculation and the expression plugin isn’t suiting my need. So I’m planning in using Javascript to make the maths.

I’m open to suggestions too! 🤗

Thanks!
