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 Watch
- Thread Starter
- 08-10-2016 14:01
- 08-10-2016 16:01
The assets you're going to need is every single image on the screen. So that would be a traffic light at red, at red and amber, at green, at amber, and then the picture of the button.
- 28-12-2016 17:30
if u need help on the code I would heavily advise u to use w3schools it helps a lot I finished the same task in a day bcz of it.
- 19-01-2017 11:07
well pal basically you need to go on miniclip.com and click on 8 ball pool. The answers are all there