I’m taking the web development career path and up until now I’ve had a relatively easy time navigating the course work and material.
I’m currently working on the independent challenge; https://www.codecademy.com/practice/projects/number-guesser-independent-practice ;
I’ve gotten by well just surfing the forums and finding threads of other peoples problems. It’s helped me resolve most of the issues I have faced. Though sometimes it feels like cheating because I’m referencing already completed work.
I’d like to screenshot my code and then have someone give some insight as to why it may be that whenever I play the game on Codecademy’s local host, the computer always wins.
In the screenshots above you can see that the ‘target number’ is 5, my choice was 5, and the computer still wins. What have I done wrong?