HELP!!!!!!!1 - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

HELP!!!!!!!1

asamsasams Posts: 3Member
this is an emergency
using notepad i have to do this:


The color of the beacon light atop Boston's John Hancock Building forecasts the weather according to the following rhyme.

Steady blue, clear view.
Flashing blue, clouds due.
Steady red, rain ahead.
Flashing red, snow instead.

Write a JavaScript program that requests a color (blue or red) and a mode (steady or flashing) as input and display the weather forecast.

please help

Comments

  • mac_doggiemac_doggie Posts: 488Member
    [b][red]This message was edited by mac_doggie at 2006-6-13 14:13:0[/red][/b][hr]
    Once and for all... If you are in school and get homework... Listen to your teacher in class... and don't just try to post your exercise on the boards..... :-)

    Don't expect us to do your homework... view your textbook and the note you should have made during classes.... :-)

    It's a month ago so I persume you already failed for this so here'the answer:
    [code]
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />


    website - page






    function Go() {
    document.getElementById('output').innerHTML += document.getElementById('mode').value + ' ' + document.getElementById('color').value + ',
    ';
    }




    color

    red
    blue


    mode

    steady
    flashing

    Execute






    [/code]

    : this is an emergency
    : using notepad i have to do this:
    :
    :
    : The color of the beacon light atop Boston's John Hancock Building forecasts the weather according to the following rhyme.
    :
    : Steady blue, clear view.
    : Flashing blue, clouds due.
    : Steady red, rain ahead.
    : Flashing red, snow instead.
    :
    : Write a JavaScript program that requests a color (blue or red) and a mode (steady or flashing) as input and display the weather forecast.
    :
    : please help
    :

    ;-)
    -mac-
    mailto:mac_doggie@hotmail.com
    the Netherlands...




  • CyGuyCyGuy Posts: 312Member
    : [b][red]This message was edited by mac_doggie at 2006-6-13 14:13:0[/red][/b][hr]
    : Once and for all... If you are in school and get homework... Listen to your teacher in class... and don't just try to post your exercise on the boards..... :-)
    :
    : Don't expect us to do your homework... view your textbook and the note you should have made during classes.... :-)
    :
    At least they give thinking problems. The inst. I am subjected to give an algorithm, and expect that inserting data will teach us programming.

    That's not programming, it's a configuration!!!
Sign In or Register to comment.