Elevator Simulation

A Toy Problem

and a jQuery solution by Hitesh

Overview:
Develop code that renders an elevator panel. Add JS code to make the elevator panel function according to the functional requirements below. You can control which way the elevator moves by selecting the floor buttons on the panel. As soon as a button is selected, the elevator will begin moving toward that floor.

UI Requirements:
A display panel that indicates the number of the current floor. Green and red lights indicating whether the elevator is going up (green) or down (red). Floors are visible behind the elevator panel

Functional Requirements:

View the code on GitHub

Go back to Home Page

Elevator Panel:

1

8
7
6
5
4
3
2
1