This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!

jor kol

Greenhorn
+ Follow
since Mar 22, 2016
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jor kol

I can only use js for this assignement
I'm trying to make a slot game using javascript. I need some help here because i'm stuck. I used an Array to store the images. I calculate an random number so it takes an image from the array an place it into the src in the HTML file. Then it looks if the images are the same and calculate the ouput in €. If the user clicks on the spin button it had to do the functions.

The eventListener does't do anything when i click it? Does anybody know why they don't listen to the clicks?



Slot Machine