diff --git a/index.html b/index.html index a8ce3df..8d11de3 100644 --- a/index.html +++ b/index.html @@ -1472,22 +1472,18 @@

Exercise 12: Retrieve id, title, and a 150x200 box art url for every video + movieList.videos.map(video => + video.boxarts.filter(boxart => boxart.width === 150).map(boxart => + ({ + 'id': video.id, + 'title': video.title, + 'boxart': boxart.url + }) + ) + ).concatAll() + ).concatAll(); }