hi , i will appreciate any help on this.
i am trying to create a basic java-script webpage. with any 2 random questions.it should have a java-script containing a name.after first question, it should do a calculation depending on the answer. it should print my answer and result of the calculations.it should do something different depending on the answer to the second question( IF statement).
i will highly appreciate if any help is provided. thanks :)
How to create basic javascript page with random questions?
Started by james345, Oct 16 2011 06:15 AM
1 reply to this topic
#1
Posted 16 October 2011 - 06:15 AM
|
|
|
#2
Posted 19 October 2011 - 04:55 PM
Try the Math.random(), Math.round(), and Math.floor() functions (I think that's what those functions are called). Then look up a JavaScript tutorial, like on YouTube or something, and learn how to write JavaScript code.
After that, you can think of a way of doing what you need to do.
After that, you can think of a way of doing what you need to do.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









