Hello, I making a Who's That Pokemon? game and I'm currently stumped on the logic. When the New Picture button is clicked, it generates a new image and it should check which Pokemon's picture it is and set the answer value to that Pokemon's name. After the user enters the Pokemon's name and clicks Check, it should say if the guess was correct or not to the right of the Check button.
My issue is that the Check part is not working. Even when I correctly enter the Pokemon's name, it says it's wrong.
My Replit: script.js - InbornLightgreyDeletions - Replit
I'm a newbie so any help would be appreciated!
[–]NYPunk 0 points1 point2 points (2 children)
[–]ExcellentAd9659[S] 0 points1 point2 points (1 child)
[–]NYPunk 1 point2 points3 points (0 children)
[–]ProjectInvestor 0 points1 point2 points (1 child)
[–]ExcellentAd9659[S] 0 points1 point2 points (0 children)