Question: I have the following code. The code changes the buttons color when clicked. How would I remove inner.HTML to seperate the HTML, JSS and CSS

I have the following code. The code changes the buttons color when clicked. How would I remove inner.HTML to seperate the HTML, JSS and CSS files. All functionality needs to be in the JS file and styling in seperate CSS file.

HTML Code ( Commented )

BGColor Change

REQUIREMENTS

All event listeners should be named functions No global variables All styling in CSS file All events and functionality in JavaScript file Multiple functions JSDoc Comments on all functions No use of console.log, alert, prompt, or confirm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!