this is my first question here so excuse me if I did anything wrong.
This one goes inside the head tag. It picks a random hexadecimal code between the two ones I want and store it on the var color.
The second one I'm using goes on the body.
*Header code here*
I thank you all in advance for reading and appreciate your help.
以上就是How to make a div's background color randomly change when the page refreshes的详细内容，更多请关注web前端其它相关文章！