Get the Course Free
Included – bonus downloadable PDF resource guide with source code and links to resources.
Document.querySelector() – to select page elements from the DOM
Select all the page elements that were created and update the style background color
Add buttons that allow the user to click and reset new background colors to each page element
Interactive page elements when clicked will update the background color of the entire body with the random color of the element set when it was created.
Source code included.