hi,
I have made an HTML page which shows a dice game.
but the only difficult thing is putting the random numbers in order from the highest to the lowest:(
I hope that you can answer my question
thank you
hi,
I have made an HTML page which shows a dice game.
but the only difficult thing is putting the random numbers in order from the highest to the lowest:(
I hope that you can answer my question
thank you
You would have to use JavaScript to do this.
Take a look at sort function
Then you would have to use the DOM to change (.innerHTML property) the elements data (such as using a DIV).
Hope that helps.
All times are GMT -7. The time now is 12:55 PM. |