Calculator

Only does the basics, but does them well.

Skills: InputOutputVariablesIf Statements
1%

This project is a chance for you to practice the skills you learnt in the previous three projects.

You'll need to use all of the skills to write the code. Here's some references to help:

Revision

If you'd like to play a revision game with a group of friends, you can run this Kahoot.

You can also do this revision quiz to test your knowledge of input, output, and if statements.

Brief

Write a program that acts as a calculator. It should at least be able to add, subtract, multiply, and divide. You can extend the program to any further operations you wish.

Use the code below to get you started. Copy and paste the HTML into your own file. You do not need to write any more HTML to complete this project.

You can use the JavaScript below if you need help to get started. It contains comments explaining each step of this program. If you can, try to complete the program without looking at it.