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 trialCraig Morse
427 PointsKnock knock exercise
I need a hint on how to complete this exercise. In the lesson with Dennis we learned how to exclude words. In the exercise we will only accept one answer (banana). So without listing every single letter combination except for banana what tool can use to only accept banana?
1 Answer
Luke Glazebrook
13,564 PointsHi Craig!
Maybe you could try passing the word you want ignoring to 'equalsIgnoreCase' method and seeing how that works for you? Tell me if you have any problems!
-Luke