Skip to content

Umair-coding/javascript-factorial-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

JavaScript Factorial Calculator

A simple JavaScript project that calculates the factorial of a number using a for loop.

๐Ÿ“š Concepts Practiced

  • Variables
  • for Loop
  • User Input (prompt)
  • Multiplication Logic
  • Problem Solving

๐Ÿงฎ Example

Input:

5

Output:

120

๐Ÿš€ What I Learned

  • How factorial works.
  • How to use a for loop 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.

About

javascript-factorial-calculator built with only js

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors