RSHowat
07-12-2011, 08:08 PM
This is a simple basic game i want to make.
Its a "What Am I" Riddle...
The questions is (In HTML which i already know):
I'm as light as a feather but no man can hold me for long. What am I?
the answer is: Your Breath.
(This is where the JAVASCRIPT comes in)
Lets say they guess a rock, have a pop up say:
Wrong Answer. Please try again.
Lets say they guess Your breath -OR- Breath, have a pop up say:
Correct!
I want a text field where you can enter your answer, and if they choose ANYTHING but the 2 correct answers above, it will display please try again.
Can anyone code this please?
Thanks for reading.
Its a "What Am I" Riddle...
The questions is (In HTML which i already know):
I'm as light as a feather but no man can hold me for long. What am I?
the answer is: Your Breath.
(This is where the JAVASCRIPT comes in)
Lets say they guess a rock, have a pop up say:
Wrong Answer. Please try again.
Lets say they guess Your breath -OR- Breath, have a pop up say:
Correct!
I want a text field where you can enter your answer, and if they choose ANYTHING but the 2 correct answers above, it will display please try again.
Can anyone code this please?
Thanks for reading.