User Profile

Collapse

Profile Sidebar

Collapse
birdboy272
birdboy272
Last Activity: Jun 15 '07, 07:30 PM
Joined: May 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • THank you for all the help

    this is the code I used I need a working if and else now

    need a if and else that says congratulations to the person if they get 15 in all the output squares for the game magic square

    this is my code so far:

    <h3>
    Try to make 15 in each of the green boxes without using numbers 1-9 more than once.
    I will know if your cheating :-{
    </h3>...
    See more | Go to post

    Leave a comment:


  • if and else

    I need a if and else that says congratulations to the person is they get 15 in all the output squares for the game magic square

    this is my code so far:

    <h3>
    Try to make 15 in each of the green boxes without using numbers 1-9 more than once.
    I will know if your cheating :-{
    </h3>
    <form name="zform">

    <table width="200"...
    See more | Go to post

    Leave a comment:


  • Is it possible to make a game like Magicsquare in Javascript?

    Magic Square in Javascript?

    How would it be possible to make a game like magic square in JavaScript??

    http://en.wikipedia.org/wiki/Magic_square

    heres what I want it to look like I just don't know how to work the function.


    <form name="zform">



    <table width="200"...
    See more | Go to post
    Last edited by birdboy272; May 29 '07, 09:22 PM. Reason: more data

    Leave a comment:


  • birdboy272
    replied to basic math and arrays
    Thank you guys This is this code that i used and it worked

    <script>

    var nAcc = new Array();
    nAcc[0] = 3;
    nAcc[1] = 4;
    nAcc[2] = 5;
    nAcc[3] = 6;
    nAcc[4] = 7;
    nAcc[5] = 8;
    nAcc[6] = 9;
    nAcc[7] = 10;
    nAcc[8] = 11;
    nAcc[9] = 12;

    var nMass = new Array();
    nMass[0] = 3;
    nMass[1] = 4;
    nMass[2]...
    See more | Go to post

    Leave a comment:


  • Is it possible to make a game like Magicsquare in Javascript?

    I would be cool if I could develop a 3 by 3 grid that all row, column and diagonals adds up to 15, using numbers ranging from 1 to 9.
    When click the "check sum button" this application should
    Sum up all rows, columns and diagonals and put the result in the corresponding box
    ... Use if/else to check if all the results are 15, and congratulates the user if the answer is correct.
    The name of text boxes should be...
    See more | Go to post

  • birdboy272
    replied to basic math and arrays
    Physics and javascript

    I need to do a physics equation using Javascript it needs to use the array variable and it needs to contain 10 different equations. I need a equation that looks something like this

    5(kg) * 10 (m/s^2) = 50 (N)
    See more | Go to post

    Leave a comment:


  • birdboy272
    started a topic javascript loop?

    javascript loop?

    how do you make a loop that stops outputting after one item has been output from another loop?
    See more | Go to post

  • birdboy272
    started a topic basic math and arrays

    basic math and arrays

    This is this impossible question I have to do I dont even know how to start it.

    2) The physics equation for Force, F = m*a. (3pt)
    Means force (N) is equals to mass (kg) times by acceleration (m/s^2)
    ...Use an array to store 10 masses and another array to store 10 accelerations.
    ...Use a loop to calculate and output (document.write ) the forces generated.
    Sample output: 5(kg) * 10 (m/s^2) = 50 (N)

    ...
    See more | Go to post

  • birdboy272
    started a topic more javascript help!!!!!!!

    more javascript help!!!!!!!

    This is not showing up I have an idea what is wrong though I think that I have a "
    in the wrong place or i might be missing one. I need this code to show the holiday and then the date after it I need some help!!!!!!!!

    <html>
    <body>
    <table>

    <script>

    var sGreetings = new Array();
    sGreetings[0] = "Christmas ";
    sGreetings[1] =...
    See more | Go to post

  • birdboy272
    started a topic Need held with the duplicate function

    Need held with the duplicate function

    I need a list containing 20 of the same phrase so far i have

    <html>

    <style type="text/css">
    body {background-color: lightblue}
    </style>

    <script>
    function duplicate (sInput){
    var sOutput = sInput+sInput;
    return sOutput;
    }
    var sList = "<li>Refs Suck!!!</li>";
    sList = sList;...
    See more | Go to post
No activity results to display
Show More
Working...