AbtaheeAli / assignments

Assignments for Suncoast Developers Guild
0 stars 0 forks source link

07 - 03 - Party Like Its 1989 #27

Closed AbtaheeAli closed 4 years ago

AbtaheeAli commented 4 years ago

It's 1989 and 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.

You will need to sign up and make an account to get an API key. In the URL below replace the text YOUR_KEY_HERE with the key you receive when signing up for an account.

NOTE: If you have any challenge signing up for an account, see your instructor.

This is the API end-point that supplied the data file for this project:

https://api.themoviedb.org/3/discover/movie?primary_release_year=1989&sort_by=popularity.desc&api_key=YOUR_KEY_HERE

An example of the movie object is

{
  "popularity": 22.582,
  "vote_count": 2896,
  "video": false,
  "poster_path": "/2FC9L9MrjBoGHYjYZjdWQdopVYb.jpg",
  "id": 2493,
  "adult": false,
  "backdrop_path": "/aQ2ZbNqIaecoQsryNe33UmDtms.jpg",
  "original_language": "en",
  "original_title": "The Princess Bride",
  "genre_ids": [
    12,
    35,
    14,
    10749,
    10751
  ],
  "title": "The Princess Bride",
  "vote_average": 7.6,
  "overview": "In this enchantingly cracked fairy tale, the beautiful Princess Buttercup and the dashing Westley must overcome staggering odds to find happiness amid six-fingered swordsmen, murderous princes, Sicilians and rodents of unusual size. But even death can't stop these true lovebirds from triumphing.",
  "release_date": "1987-09-25"
}

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:

https://image.tmdb.org/t/p/w185

In this case:

https://image.tmdb.org/t/p/w185/2FC9L9MrjBoGHYjYZjdWQdopVYb.jpg

NOTE: in place of w185 you can also use w92, w154, w185, w342, w500, w780, or original for different image widths based on your design's need.

Objectives

Explorer Mode

Adventure Mode

Epic Mode

Additional Resources

AbtaheeAli commented 4 years ago

https://github.com/AbtaheeAli/flicks-with-an-80-s-twist.git

AbtaheeAli commented 4 years ago

Your homework 07 - 03 - Party Like Its 1989 was marked: Meets Expectations

With LASERS

“With LASERS”

gstark commented 4 years ago

Well done! Love the graphic!