Factorial

Multiply the all the numbers together up to a given number.

Skills: InputOutputVariablesLoops
0.75%

Brief

Write a program that calculates the factorial of a number input by the user, e.g. 5! = 120.

Here are some links to resources for this project.

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 everything you need for this program.

If you can, try to complete the project without looking at it.