Question: Modify the given code so that it will change the first line of text (Heading 1) to a random color every time the button is

Modify the given code so that it will change the first line of text (Heading 1) to a random color every time the button is clicked. Correct the given code, if there is any error due to the Blackboard restriction.

Heading 1

Heading 2

This is a paragraph.

This is another paragraph.

Attach File

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!