Skip to content

Mustafa11300/beginner-web-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Web Mini Projects

This repository contains two beginner-friendly web projects built using HTML, CSS, and JavaScript:

  1. 🎓 CGPA Calculator
  2. 🎮 Guessing Game

🎓 CGPA Calculator

A simple and responsive web-based CGPA (Cumulative Grade Point Average) calculator for students.

✅ Features

  • 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

💡 How It Works

The calculator uses the formula: CGPA = (sum of (grade × credit)) / (sum of credits)

🖥️ How to Use

  1. Download or clone the repository.
  2. Input your grade points and corresponding credit hours.
  3. Click the "Calculate" button to see your CGPA.

🎮 Guessing Game

An interactive number guessing game where users try to guess a randomly generated number between 1 and 100.

✅ Features

  • 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

💡 How It Works

  1. A number between 1 and 100 is randomly selected.
  2. The player inputs guesses through a form.
  3. JavaScript provides feedback and ends the game when guessed correctly.

🖥️ How to Use

  1. Download or clone the repository.
  2. Start guessing the number.
  3. Follow the hints and try to guess it in as few attempts as possible.

🧰 Tech Stack

  • HTML5
  • CSS3
  • JavaScript (ES6+)

About

A pair of JavaScript-based web apps — one calculates CGPA from grades and credits, while the other is a fun number guessing game with instant feedback.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors