Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const profile = 'jeanromero';
- const treehouseApi = 'https://teamtreehouse.com/' + profile + '.json';
- const scores = [];
- $.getJSON(treehouseApi, function(profile) {
- let treehouseApi = profile.points;
- console.log(treehouseApi);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement