Hosted Project https://js-beginners.github.io/project_change_color_background/ Github Source Files https://github.com/JS-Beginners/project_change_color_background This background color changing app was short and sweet to complete. Since I was given the HTML and CSS assets (really, just the styled BootStrap4 button), all I had to do was create an array of different colors and then add a ‘click’ event listener to the button. […]
This HEX background color changing app was also short and sweet to complete. However, I did find the instructor’s solution interesting. The idea was to make a random hex value created from an array of all the possible different hex values, loop through them, and concatenate 6 different values to a String that begun with the # character.