Closed ads6495 closed 5 years ago
Even though this is React, you still need to use proper HTML (https://github.com/ads6495/movie-db/blob/master/src/components/Movie.js#L34)
Your homework week 04 - day 03 - Party Like it's 1989! - apis and react was marked: Meets Expectations
“Well done!” — via Gavin Stark
Party Like it's 1989!
It's 1989. The Internet has just come online and Tim Berners-Lee is going to invent the World Wide Web. The Cold War is ending, and the Berlin Wall will be coming down. It's also going to be a great year for film. In this assignment you're going to build a small webpage that showcases some of the most popular movies of 1989.
The data for this assignment comes from The Movie DB API.
This is the API end-point you should use is:
https://api.themoviedb.org/3/discover/movie?primary_release_year=1989&sort_by=popularity.desc&api_key=YOUR_KEY_HERE
You will need to sign up and make an account to get an API key.
An example of the movie object is
You'll notice that the poster images are just the file names. You can get the full URL to a poster by concatenating the path with the following base URL:
In this case:
Objectives
Array.prototype.map
to render a collection of components in ReactExplorer Mode
App
andMovie
.Adventure Mode
1989-05-24
. HINT: moment.js or date-fnsEpic Mode
Additional Resources