QuoteGenerator: Why is the background-color property not working?

QuoteGenerator: Why is the background-color property not working?
0.0 0

#1

Here is my codepen, of my question: https://codepen.io/Ag_Yog/pen/rzezYw.

I wrote the following code in an attempt to make the white space a different color:
html, body {
width: 100%;
height: 100%;
background-color: #00e676 ;
}

I am confused on why this doesn’t work, as I specified the dimensions of the body.

Also, the JavaScript portion of my code which generates the new quote doesn’t work on codepen, even though the same code worked on notepad.

Thanks for any help


#2

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)