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 trial

JavaScript JavaScript Basics (Retired) Introducing JavaScript Your First JavaScript Program

q

Write a for loop that only prints players with rank less than or equal to 10 var players = [ { name: "Roger Federer", rank: 1 }, { name: "Rafel Nadal", rank: 2 }, { name: "Nalbandian", rank: 12 }, { name: "Andy Murray", rank: 14 }, { name: "Andy Roddick", rank: 4 }, { name: "Pete Sampras", rank: 3 }, { name: "Rod Laver", rank: 190 }, { name: "Andre Agassi", rank: 11 }, { name: "Novak Djokovic", rank: 5 }, { name: "Arthur Ashe", rank: 8 }, ];