Explore our Solution Library

Number of Views - 3543 355

Do My Javascript Assignment and write functions in javascript to change color

Question - In assignment 3, we are going to work with arrays and objects. information in the comment section. with id 'font'. These should have an onchange that calls the function changeColor, with one string argument, either 'background' or 'font'. The values assigned in the options in the select for the colors will be outlined in step 4. function, use an if statement to determine what the user is trying to change, and process appropriately. Inside the if statement, call a function getColor that passes a numeric value, and returns a color code. The array will need to be in a specific order that corresponds with the order of the select box you created. So, if you created the select box with options like: Then you wi ...Read More

Original Question Documents

Found What You Need?

Scroll down to find more if you need to find our more features