Help!!! Year 11 Javascript CA

Discussion in 'Javascript' started by Sheekeba, Jan 17, 2017.

  1. Sheekeba


    Jan 17, 2017
    Likes Received:

    I cant seem to figure out how to answer this question.
    Display a traffic light sequence on a web page.
    When the button 'Change lights' is clicked, the lights changes 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
    Sheekeba, Jan 17, 2017
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.