Skip to content

Udonna-cell/change-background-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published