Giter Site home page Giter Site logo

code-challenge-wk-1-toy-problems's Introduction

Code-challenge-Wk-1-Toy-Problems

Description

This project includes solutions to three code challenges:

  • Student Grade Generator
  • Speed Detector
  • Net Salary Calculator.

Each challenge has been implemented in JavaScript.

Set Up Instructions

To run the code for each challenge, follow these steps:

Student Grade Generator

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.

Speed Detector

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.

Net Salary Calculator

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.

Documentation

The code for each challenge is properly documented with comments to explain the functionality and logic.

Student Grade Generator

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

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

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.

Author

[Xander-AJ] - [https://github.com/Xander-AJ]

License

This project is licensed under the [John-Alexander Kamau] - see the LICENSE.md file for details.

code-challenge-wk-1-toy-problems's People

Contributors

xander-aj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.