Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialChristopher Borchardt
2,908 Pointsonly one case of a letter
ok, I am not sure if I'm getting ahead of the lessons or not.
I used "StarWars" as the word rather than treehouse, When I run the code and put 's' down as the guess, only the first S is displayed. Is there something wrong in my code that it only displayed the first instance of the guessed letter? or is that a functionality that will be addressed in a later video?
Harry James
14,780 PointsGlad you got the problem sorted :) If you wouldn't mind just moving your comment to an answer and setting it as the Best Answer, then it'll let other users know that this problem has been solved.
1 Answer
Christopher Borchardt
2,908 Pointsnever mind, i figured it out. the problem is it counts 'S' as a different answer as 's' so it only showed one. have to make the word all lower case.
Christopher Borchardt
2,908 PointsChristopher Borchardt
2,908 Pointsnever mind, i figured it out. the problem is it counts 'S' as a different answer as 's' so it only showed one. have to make the word all lower case.