Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Simple Programing. Plz Help?

Ok i am in dire need of help. I have taken an intro to programing class and i have no clue what to do can anyone help me.

http://www.jweb-edu.org/index.php?option=com_conte...

That is the exact website the assignment is on if you know proggraming well ive been told its a very simple assignment.

Plz i need help.

Thank you for your time!

P.S if you know what to do plz write down an answer or even a hint. anything will help!!!!!

Additional Details

The Language is

<script type="text/javascript">

Update:

No i dont im taking a course online and this is what we refered to but I cant seem to figure out how to get the parseInt thing to work.

Just wondering why you need to know.

3 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    var letters = "";

    var numbers = 0;

    function addletter(){

    var newletter = document.getElementById("textinput").value;

    letters += newletter;

    document.getElementById("result").innerHTML = letters;

    document.getElementById("textinput").value = "";

    }

    function addnumber(){

    numbers = parseInt(numbers);

    var newnumber = parseInt(document.getElementById("textinput").value);

    numbers += newnumber;

    document.getElementById("result").innerHTML = numbers;

    document.getElementById("textinput").value = "";

    }

    function clearform(){

    numbers = 0;

    letters = "";

    document.getElementById("textinput").value = "";

    document.getElementById("result").innerHTML = "";

    }

    I'm sure other people have other solutions, shrug.

  • 1 decade ago

    read your other question's answers! or just look at the link you provided and see what is being addressed and google that topic

    Additional:

    After googling, you have to click on one of the links and read

  • 1 decade ago

    do u go to phs?

Still have questions? Get your answers by asking now.