Assignment01

Adding two additional LEDs and buttons

Add two additional LEDs (red and yellow) to the breadboard with 220 Ohm resistors and provide buttons to turn them ON and OFF. Ground for additional LEDs could be taken from the breadboard. On the GUI add buttons to turn All ON and All OFF. New GUI should look like this:

You can fix the width of the buttons by adding width style (style="width: 80px;") within <button> tag :

<button id="buttonOn1" style="width: 80px;" onClick="on1()">On 1</button>