阅读背景:

Javascript(html) - 使变量与.src的img具有相同的值

来源:互联网 

I'm creating a game that displays images, and if the player clicks on the image, a function is called to update the stats (score/correct answers/incorrect answers). I've stored the images in an array, and within the update stats function I compare the player's answer (image selected) with the array. However, no matter whether correct or not, the player's answer is always classed as wrong and they never get any correct answers. I'm creating a game that displays images, and i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: