This project includes solutions to three code challenges:
- Student Grade Generator
- Speed Detector
- Net Salary Calculator.
Each challenge has been implemented in JavaScript.
To run the code for each challenge, follow these steps:
Open the student-grade-generator.html file in a web browser. Enter student names and marks in the provided form. Click the "Calculate Grades" button to see the corresponding grades.
Open the speed-detector.html file in a web browser. Enter the speed of a car in kilometers per hour (km/h). The program will calculate demerit points and display the appropriate message.
Open the net-salary-calculator.html file in a web browser. Enter the basic salary and benefits in the provided form. The program will calculate payee (tax), NHIF deductions, NSSF deductions, gross salary, and net salary.
The code for each challenge is properly documented with comments to explain the functionality and logic.
student-grade-generator.js contains functions to calculate grades based on input marks. student-grade-generator.html provides the user interface for entering student information and displaying grades.
speed-detector.js contains functions to calculate demerit points based on input speed. speed-detector.html provides the user interface for entering speed and displaying demerit points.
net-salary-calculator.js contains functions to calculate payee, NHIF deductions, NSSF deductions, gross salary, and net salary based on input basic salary and benefits. net-salary-calculator.html provides the user interface for entering salary information and displaying net salary.
[Xander-AJ] - [https://github.com/Xander-AJ]
This project is licensed under the [John-Alexander Kamau] - see the LICENSE.md file for details.