Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Write a JavaScript and add a div element in the body. Add the following style to the div element: background-color: #D94A38 . width:90px

 

2. Write a JavaScript and add a div element in the body. Add the following style to the div element: background-color: #D94A38 . width:90px . height:20px padding:40px First when a mouse-button is clicked on the div area, the onmousedown event is triggered, the wwwwwwwwwwwwwww background color is changed to "#1ec5e5" and the text is changed to "Release me. wwwwwwww then, when the mouse-button is released, the onmouseup event is triggered, the background is changed to #D94A38 and text is changed to "Thank You". finally, when the mouse-click is completed, the onclick event is triggered. Release Me Thank You

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Chemistry

Authors: Raymond Chang

10th edition

77274318, 978-0077274313

More Books

Students also viewed these Programming questions

Question

Solve the following proportions for the unknown quantities 9:7=54:b

Answered: 1 week ago

Question

Express the following ratios in its lowest terms. 0.24: 0.39 : 0.15

Answered: 1 week ago