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 trialaleeja misno
Courses Plus Student 36 PointsShould provide json data for the test on the video description.
Instead of copy the data, you should provide that example data on the video description.
1 Answer
Stephanie Spears
20,369 Pointsconst repos = [
{
id: 1,
stargazers_count: 2,
url: 'www.google.com/1',
name: 'best_repo_ever',
language: 'javascript',
},
{
id: 2,
stargazers_count: 17,
url: 'www.google.com/2',
name: 'even_better_repo',
language: 'C#',
},
{
id: 3,
stargazers_count: 4,
url: 'www.google.com/3',
name: 'ok_repo',
language: 'pascal',
},
{
id: 4,
stargazers_count: 0,
url: 'www.google.com/4',
name: 'new_repo',
language: 'c++',
},
];
Iain Simmons
Treehouse Moderator 32,305 PointsIain Simmons
Treehouse Moderator 32,305 PointsThanks Stephanie Spears! I've changed your comment to an answer and marked it as the best answer. :)