Question: Create a HTML, CSS, and JS file have a pull down list of colors of white, orange, blue, red, green. Make a button that says
Create a HTML, CSS, and JS file have a pull down list of colors of white, orange, blue, red, green. Make a button that says make button on it and when the person clicks it, it makes a colored button of the selected color at a random spot on the viewing area. Got to make sure the button is completely in the viewing area not off and have a random number from 1 - 99 as the button text when created. If a user clicks on one of the colored buttons, change it to the currently selected color from the list. Each time a colored button is pressed, have a total of the sum of all the buttons that have been clicked with the random numbers that are in each buttons text. Have it labeled above the viewing area near the controls (make button, color list).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
