Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 Student Average Calculator 🎓

✨ Project Description :

This project is a simple web application that calculates a student's weighted average based on their test and final exam scores. It determines whether the student has passed or failed the module and displays the result dynamically.

🔧 Key Features :

  • 📝 Input Fields : Users can enter their name, three test scores, and a final exam score.

  • 📊 Weighted Average Calculation : The application calculates the average with 33% weight for tests and 67% weight for the final exam.

  • ✅ Pass/Fail Result : Displays a success message with a green background if the student passes, or a failure message with a red background if they fail.

  • 🎨 Dynamic Styling : The result box is styled dynamically based on the outcome.

📷 Screenshots :

image alt
Home Screen: Enter your name and scores to calculate your average.


image alt
Valid Case (Pass): Displays a success message with a green background when the student passes.


image alt
Invalid Case (Fail): Displays a failure message with a red background when the student fails.


🛠️ Technologies Used :

HTML CSS Bootstrap JavaScript

⚙️ Installation Steps :

  1. 📥 Clone the repository to your machine or download the ZIP files:

    git clone https://github.com/<your-username>/<repo-name>.git
    
  2. 📂 Navigate to the project folder and open it in Visual Studio Code:

    cd <repo-name> && code .
    
  3. 📦 Install the dependencies:

    npm install
    
  4. 🌐 Start a local server to view the project:

    npm run dev
    

    The project will be accessible at: Student Average Calculator

🤝 Contributing :

Contributions to this project are welcome! If you have suggestions, improvements, or bug fixes, please submit a pull request. Make sure to follow coding conventions and maintain consistent styles.

If you encounter issues or want to request a new feature, please open an issue in the repository with as much detail as possible.

⭐ Support :

If you like this project, don't forget to leave a ⭐ on GitHub. Thank you and happy coding! 🚀

📬 Stay in Touch :

About

This project is a simple web application that calculates a student's weighted average based on their test and final exam scores. It determines whether the student has passed or failed the module and displays the result dynamically.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages