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 trialAleksei Chepinoga
8,385 PointsChallenge says that ReactionTime must be higher or equal than flyReactionTime, but only the opposite code works.
Challenge says that ReactionTime must be higher or equal than flyReactionTime, but the ReactionTime >= flyReactionTime is wrong for it. I had to make ReactionTime <= flyReactionTime to pass the challenge. Please, fix this bug.
1 Answer
andren
28,558 PointsIt's not a bug, you just misread the instructions. The instructions state that the reaction time has to be "faster or equal" not "higher or equal".
Faster and higher are not the same thing. If the fly has a higher reaction time than the frog that means it reacts slower than the frog. Higher times are not better when it comes to measuring speed, somebody that can run 100 meters in 10 seconds are faster than somebody who can run them in 20 seconds.
Aleksei Chepinoga
8,385 PointsAleksei Chepinoga
8,385 PointsYeah, I already realised that. You know, I am not really smart sometimes :-)