This project is a JavaScript-based Student Management System created to practice and demonstrate CRUD operations and array manipulation using pure JavaScript.
The system manages a list of students using an array of objects, where each student contains the following properties:
idβ unique student identifiernameβ studentβs full nameageβ studentβs agegenderβ male or femalegradeβ the academic level/class
The project starts with three mandatory students, and additional students can only be added through the addStudent() function.
The goal of this project is to demonstrate understanding of:
- JavaScript arrays & objects
- CRUD operations (Create, Read, Update, Delete)
- Input validation (age, gender, duplicates, etc.)
- Using array methods such as:
push()find()findIndex()filter()sort()reduce()
- Sorting and filtering data
- Printing results using
console.log()
- Create: Add a new student with validation
- Read: Get all students or a single student by ID
- Update: Modify name, age, gender, or grade of an existing student
- Delete: Remove a student by ID
- Filter & Sort:
- Get all male students
- Sort students alphabetically by name
- Retrieve the oldest student
- Count students in Grade 11
- β No Express
- β No external libraries
- β Pure JavaScript only
- β Arrays & objects
- β Starter array cannot be edited manually
- β
All results printed with
console.log()
This project acts as a simple data management program designed for beginners to understand how arrays can be used to store and manipulate structured information in JavaScript.
Video link: https://www.youtube.com/watch?v=Q_PL9ryDlDc