Your Projects folder for Chapter 11 contains an image file of a mosquito named b
ID: 3539939 • Letter: Y
Question
Your Projects folder for Chapter 11 contains an image file of a mosquito named bug.gif. Use the same coding techniques that you saw in Reinforcement Exercise 11-4, which created a bouncing ball Web page, to dynamically animate the image so the mosquito appears to fly randomly around the page and bounce off the boundaries of the document portion of the window. However, instead of animating a single image, create at least five animated images that move along different paths in the window. To ensure that each image moves along a diff erent path, you only need to set a unique vertical position for each image starting point. Use a separate element for each image. All images should appear to fly in from the left side of the screen, so the starting horizontal value for each element must be negative. Make sure that some of the images begin traveling in an upward direction and that some of the images begin traveling in a downward direction. You will need to store information about the speed, document, position, and direction of each image in arrays. Use a separate setInterval() or setTimeout() method to begin animating each image. Save the document as Buzz.html.
Explanation / Answer
wait did someone actually answer this..
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.