PinoyXtreme

Hello, Guest! Welcome to PinoyXtreme.
Most of our features and services are available only to our members. So we encourage you to login or join us by registering a new account.

Join the forum, it's quick and easy

PinoyXtreme

Hello, Guest! Welcome to PinoyXtreme.
Most of our features and services are available only to our members. So we encourage you to login or join us by registering a new account.

PinoyXtreme

Would you like to react to this message? Create an account in a few clicks or log in to continue.

Pinoy Tricks and Hacks

Good Day !! Welcome sa new member. Salamat sa Pag register sa pinoyxtreme lol!
To all guest please Register to our website to see more updates thank you. Guys keep sharing please!! Login kayo sa chat !!!

Keywords

Latest topics

» Tambay ka dito
Guessing Game EmptyFri Jul 25, 2014 1:20 pm by eekykee

» Proxy Servers for Ucweb[mabilis to promise]
Guessing Game EmptySun May 18, 2014 10:26 pm by Ricsonmine

» List of Webproxy for free internet
Guessing Game EmptyThu Mar 20, 2014 11:53 am by jasonfcuison

» Promo for globe Free internet
Guessing Game EmptyThu Feb 13, 2014 3:41 pm by hardy

» Ask Something, Guyz....>>
Guessing Game EmptyTue Feb 11, 2014 2:12 pm by *janro

» Opera Mini Free Internet Guide for China, Cherry Mobile, MyPhone, Torque & the like
Guessing Game EmptySat Dec 28, 2013 2:47 pm by edwinz13

» om7.1 white xmas skin with new servers injected
Guessing Game EmptySat Nov 23, 2013 2:13 pm by koneksyontriker

» Smart Opera mini tricks
Guessing Game EmptyWed Sep 11, 2013 4:44 pm by Guest

» for S40 user..! tricks for opera mini, ucweb, bolt and shmessenger handler with out using Pov file
Guessing Game EmptyMon May 06, 2013 11:28 pm by Guest

March 2024

SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Calendar Calendar


    Guessing Game

    dEviLz_10
    dEviLz_10
    Admin


    Posts : 269
    Join date : 2012-05-25
    Age : 26
    Location : Diffun Quirino

    Guessing Game Empty Guessing Game

    Post by dEviLz_10 Tue Jun 26, 2012 6:39 pm


    var iRandom;
    function Restart()
    {
    iRandom = Math.floor(Math.random()*10)+1;
    alert('OK, I am thinking of a number between 1 and 10');
    }
    function Guess()
    {
    var yourGuess = document.getElementById('myGuess').value;
    if (yourGuess>iRandom)
    alert('Too High.');
    if (yourGuess alert('Too Low.');
    if (yourGuess==iRandom)
    {
    alert('Well done! You guessed it.');
    Restart();
    }
    }

    Enter your guess between 1 and 10:







    Restart();

      Current date/time is Thu Mar 28, 2024 8:15 pm