3. Changes made to HTML elements such as images can be useful when producing animations.
It is possible to display a traffic light sequence on a web page. When the button 'Change lights' is clicked, the lights change according to the sequence.
(i) Make a list of assets that will be required in order to produce this display.
(ii)Describe and explain where the assets will be best located.
(iii)Describe the structure of an array that could be used to handle the traffic light sequence.
(iv)Write a script that uses the array described in part (iii) to produce an animation of a set of traffic lights such that the lights change in the standard sequence each time the button is clicked.
4. Change the animation script so that the sequence of lights is displayed automatically on a timed basis without user input.
5. Scripts can be embedded in the HTML of web pages or saved externally as script files. Discuss the benefits and drawbacks of each approach.
Someone please help me fill this in im beggin you i need the help for this, please anyone help me
Help me please
|Would YOU be put off a uni with a high crime rate? First 50 to have their say get a £5 Amazon voucher!||27-10-2016|