A basic javascript project in which some functionalities have been added. This project is based on Keypress function of Javascript.
- On clicking SpaceBar the car will start moving
- If the car is already in motion, then if we press SpaceBar the car will stop
- Once the car is motion is in motion we can turn on the headlights according to our needs.