subject
Engineering, 25.02.2022 20:50 sarbjit879

Modify the html file to add a second red square to the canvas area. Modify the html file to cause the first red square to become 50% transparent when the mouse pointer is colliding with it, and completely opaque when not (no collision).

Modify the html file to cause the second red square to become blue when the mouse pointer is colliding with it, and red when not (no collision).

A collision with either square should make the text read: "Collision!", otherwise it should read "No collision..." (also you should still have only 1 text area, not one for each square).

Don't know how to do this assignment? Looking for any help in coding

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
question
Engineering, 04.07.2019 18:20
Air flows over a heated plate àt a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point.the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
question
Engineering, 04.07.2019 19:20
Determine the stoichiometric and actual air-fuel ratios and the mole flue gas composition for combustion with 15% excess air for raw indiana, pennsylvania raw coal.
Answers: 3
question
Engineering, 06.07.2019 03:10
What is the direction and how to operate the lathe?
Answers: 2
You know the right answer?
Modify the html file to add a second red square to the canvas area. Modify the html file to cause...
Questions
question
Mathematics, 21.05.2020 22:03
question
Mathematics, 21.05.2020 22:03
Questions on the website: 13722361