BMI calculator using only HTML and JavaScript

Super simple BMI calculator, using just HTML and a few lines of JavaScript. Take a look at the source code for more information on how it works.

BMI:

You don't have to give credit or anything for using this code, but if you can, please do let other people know where you found it and post a link to this page - it helps others find it more easily.