Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“˜ Student Grade Submission Portal

A simple web-based system for submitting student details and subject marks. Built with HTML, CSS, JavaScript (Fetch API), and PHP.

πŸš€ Features

Submit student information (name, ID, gender, age).

Enter marks for five subjects (Maths, English, Biology, Physics, Chemistry).

Data validation with success (green) and error (red) alerts.

View all submitted student records in a table.

Clean and user-friendly interface.

πŸ“ Project Structure

β”œβ”€β”€ index.html # Main form interface

β”œβ”€β”€ roster.css # Page styling

β”œβ”€β”€ roster.js # JavaScript for form submission and alerts

β”œβ”€β”€ roster.php # Backend PHP logic for saving/viewing records

└── README.md # Project documentation

πŸ› οΈ Technologies Used

HTML5

CSS3

JavaScript (Fetch API)

PHP

πŸ“₯ Setup Instructions Requirements

Local server with PHP (e.g., XAMPP, WAMP, MAMP)

Web browser

Steps

Clone or download the repository:

git clone https://github.com/yourusername/student-grade-submission.git

Place the folder inside your local server directory (e.g., C:\xampp\htdocs).

Start your local server (Apache).

Open your browser and go to:

http://localhost/student-grade-submission/index.html

πŸ“„ How It Works

Fill Out the Form – Enter student information and marks.

Submit Data – The form is sent via JavaScript (fetch) to roster.php.

PHP Processes Input – Data is validated and saved to the database.

Alerts Displayed –

Green box = successful submission

Red box = invalid input or error

View Roster – Click β€œView Student Roster” to see all stored records.

🧩 Customization Ideas

Connect to a MySQL database instead of storing in a file.

Add edit/delete functionality for students.

Include GPA calculation or grade analytics.

Implement authentication for multiple users.

πŸ“œ License

This project is open-source and available under the MIT License.

Releases

Packages

Contributors

Languages