This repository contains two beginner-friendly web projects built using HTML, CSS, and JavaScript:
A simple and responsive web-based CGPA (Cumulative Grade Point Average) calculator for students.
- Enter grade points and credit hours for multiple subjects
- Calculates CGPA using standard academic formula
- Input validation and basic error handling
- Clean and responsive UI using HTML & CSS
- Pure JavaScript logic — no frameworks used
The calculator uses the formula: CGPA = (sum of (grade × credit)) / (sum of credits)
- Download or clone the repository.
- Input your grade points and corresponding credit hours.
- Click the "Calculate" button to see your CGPA.
An interactive number guessing game where users try to guess a randomly generated number between 1 and 100.
- Random number generated each time the game starts
- Instant feedback on guesses ("Too high", "Too low", or "Correct!")
- Tracks number of attempts
- Option to reset the game and play again
- Built using HTML, CSS, and JavaScript only
- A number between 1 and 100 is randomly selected.
- The player inputs guesses through a form.
- JavaScript provides feedback and ends the game when guessed correctly.
- Download or clone the repository.
- Start guessing the number.
- Follow the hints and try to guess it in as few attempts as possible.
- HTML5
- CSS3
- JavaScript (ES6+)