I think it's javascript

does anyone know of a link or tutorial to do math calculations from input form a form that I think uses JS?

Here’s an example of what I’m looking to do.

http://www.pamelamcgregor.com/mortgage.html

Thanks in advance.