A simple JavaScript-based web app that performs basic mathematical operations like:
- ✅ Factorial Calculation
- 🌀 Fibonacci Series Generator
- 🔍 Prime Number Checker
- 🔢 Factors of a Number
- ➕ Sum of Digits
👉 Visit the live site here
Feel free to explore and test all the features!
📦 pracs/ ├── index.html # Main HTML file with buttons and structure ├── style.css # Basic styling (linked to HTML) ├── script.js # JavaScript logic for math operations
markdown Copy Edit
- Responsive button layout for easy interaction
- All operations done using pure JavaScript
- Simple and clean UI for better understanding
- Reset button to clear outputs
- Open the Live Demo
- Click any button to:
- Get factorial of a number
- Generate a Fibonacci series
- Check if a number is prime
- List all factors
- Get the sum of digits
- Use the Reset button to clear results.
This was one of the first projects I built when I started learning JavaScript.
It helped me practice basic concepts like DOM manipulation, functions, and event handling.
A simple project, but an important step in my coding journey!
- HTML5
- CSS3
- JavaScript (Vanilla)
If you have any questions or suggestions, feel free to visit the site and reach out.
Or raise an issue in this GitHub repository.
Created by Adil Xs
Feel free to fork or contribute!