<< Back

Exercise 1.1 - Buttons and Inputs

g) Math and libraries

This is the console. All output created with writeLog() is shown here.

Please type two numbers and press "Calculate power". I will calculate taking the first to the power of the second number.


script.js

This is the JavaScript code behind the above application.