- Look through the starting files provided in this repository. You will find the logic of the calculator app in
modules/percentage.js
andmodules/aspect-ratio.js
. - Export the functions in the operations files.
- Import the functions to
modules/index.js
and add the functionality to the UI in theindex.js
file. - The calculation result should update while the user is entering values, so no submit buttons are needed.
- Do not forget to add the
index.js
file at the end of theindex.html
file. Don't change anything else inindex.html
.