A simple JavaScript project that calculates the factorial of a number using a for loop.
- Variables
- for Loop
- User Input (prompt)
- Multiplication Logic
- Problem Solving
Input:
5
Output:
120
- How factorial works.
- How to use a
forloop to repeat calculations. - How to update a variable inside a loop.
- The importance of debugging and solving problems step by step.
Created while learning JavaScript.