Sharaz Khan ET-712 Project 6 Summary In this project we created a banner ad (slideshow) with 5 pictures. We created a script using a function that is used to call the switch and case commands that will cycle through the images, displaying each image for about two seconds. Q&A 1. Explain the difference between the setTimeout() and setInterval() methods. Which method is most often used for starting animation code that executes repeatedly? setTimeout() method is used to execute code after a specific amount of time has elapsed. setInterval() method repeatedly executes the same code after being called only once. An interval method is most often used for starting animation code. 2. Explain how to center a window when it is created with the window.open() method. The screen object. 3. Explain how to use the with statement to reference an object’s properties. The with statement eliminates the need to retype the name of an object when properties of the same object are being referenced in a series. Output