Question: This question relates to Javascript. I wrote a code below that is meant to change the background colour of my webpage to a random colour

This question relates to Javascript.

I wrote a code below that is meant to change the background colour of my webpage to a random colour in the colArray. Could you please show me how I can fix it because it does not work. Please keep it simple as I am new to Javascript. Could you please also show me how to add a timer so it changes the background color every 3 seconds. Please keep it simple.

Thank you

Colourful World

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!