code-challenge-wk1

This code challenge contains three different programs that grades student marks, detects speed of a car, and calculates an individual’s net salary.

GRADE GENERATOR

Date, 2025/09/10

By Judy Ogachi

Description

It’s a program that generates the grade scored by the student based on the marks received. Using a prompt the student adds their marks. On the console of the browser, the grade is printed out if it meets one of our laid out conditions.

Installation

You use git clone to be able to download the documents in the GitHub

Installation Requirements

Git

Installation instruction

git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:Bonarerijt/code-challenge-wk1.git
git push -u origin main
git clone git@github.com:Bonarerijt/code-challenge-wk1.git

Live Link

[Git] https://bonarerijt.github.io/code-challenge-wk1/

Technologies used

HTML Github Javascript

Support and contact details

github.com/Bonarerijt

License

The content of this site is licensed under the MIT license Copyright (c) 2025 Bonarerijt.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

SPEED DETECTOR

Date, 2025/09/10

By Judy Ogachi

Description

It’s a program that takes as input the speed of a car. The speed limit is set at 70 and any speed below that is okay. Otherwise for every 5 km/s above the speed limit, demerits are given. Our program then prints out the total number of demerits based on the car’s speed. The higher the demerit point the higher the risk of license suspension.

Installation

You use git clone to be able to download the documents in the GitHub

Installation Requirements

Git

Installation instruction

git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:Bonarerijt/code-challenge-wk1.git
git push -u origin main
git clone git@github.com:Bonarerijt/code-challenge-wk1.git

Live Link

[Git] https://bonarerijt.github.io/code-challenge-wk1/

Technologies used

HTML Github Javascript

Support and contact details

github.com/Bonarerijt

License

The content of this site is licensed under the MIT license Copyright (c) 2025 Bonarerijt.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NET SALARY CALCULATOR

Date, 2025/09/10

By Judy Ogachi

Description

This program is able to calculate an individual’s net salary. The program will prompt the user to input their basic salary and benefits. As part of the deductions, payee is calculated, NHIF deductions are made, and NSSF deductions are calculated. From here we are able to get the net salary after total deductions.

Installation

You use git clone to be able to download the documents in the GitHub

Installation Requirements

Git

Installation instruction

git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:Bonarerijt/code-challenge-wk1.git
git push -u origin main
git clone git@github.com:Bonarerijt/code-challenge-wk1.git

Live Link

[Git] https://bonarerijt.github.io/code-challenge-wk1/

Technologies used

Github Javascript

Support and contact details

github.com/Bonarerijt

License

The content of this site is licensed under the MIT license Copyright (c) 2025 Bonarerijt.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.