Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 710 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 710 Bytes

Change Background Color

Project Summary

background color changing app was short and sweet to complete. All I had to do was create a class list toggle of different class how it own color and then add a ‘click' function to the button. Once the button was clicked, a different background color would appear, based on the new class name it will toggle switch.

New things learned or refreshed:

I didn't learn any new JavaScript features during this project but I was refreshed on using JavaScript to style CSS Example

 element.style.backgroundColor = red;

Lines of code:

  • 4 lines of code.

Time to code:

This took about 3 minutes to code.

Biggest take away:

None.