Question

CHALLENGE7.3.1: Event-driven programming ACTIVITY Reset Write a set Timeout function that changes the background color of the h3 tag to yellow after waitTime JavaScript ch3> Header 3</h3> 5 ca href https://.ex.ample.org/>Example.orgc/a Check 1...pptx a t
media%2Fe08%2Fe089b478-f453-4252-877d-e8
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

code:

var h3Element = document.getElementsByTagName("h3")[0];

var waitTime= 300;

setTimeout(function() {
    $('#h3').css('color','#FFFF00');
}?, waitTime);?

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Add a comment
Know the answer?
Add Answer to:
CHALLENGE7.3.1: Event-driven programming ACTIVITY Reset Write a set Timeout function that changes the background color of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT