21 Day Coding Challenge

Challange #13 help me here, please, find what's wrong in my code!



Take a close look at your for loop’s condition. Does your for loop run 12 times like the challenge asks?


Also, you don’t seem to break out of the loop, once you meet the one you’re looking for. :slight_smile: Which would result in the last value that isn’t undefined to be assigned to navigation.x, instead of the first one.