Question: I need help with this challenge. HTML Test 2 V2

I need help with this challenge.

Summary In this challenge you will search through JSON data to find

HTML

   

   

   

   

Test 2 V2

   

       

           

           

       

       

   

   

   

 

app.js

async function fetchData(req){

    let resp = await fetch(req);

    if(resp.ok == true){

        return await resp.json();

    }

    throw new Error (resp.status);

}

 

list.json

[

  {

    "id": 1,

    "title": "The Lord of the Rings: The Fellowship of the Ring",

    "imdb_id": "tt0120737",

    "plot": "A meek Hobbit from the Shire and eight companions set out on a journey to destroy the powerful One Ring and save Middle-earth from the Dark Lord Sauron.",

    "release": "2001-12-19",

    "stars": 5,

    "boxoffice": 314000000,

    "posterURL": "..Y@._V1_SX300.jpg"

  },

  {

    "id": 2,

    "title": "The Lord of the Rings: The Return of the King",

    "imdb_id": "tt0167260",

    "plot": "Gandalf and Aragorn lead the World of Men against Sauron's army to draw his gaze from Frodo and Sam as they approach Mount Doom with the One Ring.",

    "release": "2003-12-17",

    "stars": 4,

    "boxoffice": 364000000,

    "posterURL": "..M@._V1_SX300.jpg"

  },

  {

    "id": 3,

    "title": "The Lord of the Rings: The Two Towers",

    "imdb_id": "tt0167261",

    "plot": "While Frodo and Sam edge closer to Mordor with the help of the shifty Gollum, the divided fellowship makes a stand against Sauron's new ally, Saruman, and his hordes of Isengard.",

    "release": "2002-12-18",

    "stars": 4,

    "boxoffice": 339700000,

    "posterURL": "..M@._V1_SX300.jpg"

  },

  {

    "id": 4,

    "title": "Lord of War",

    "imdb_id": "tt0399295",

    "plot": "An arms dealer confronts the morality of his work as he is being chased by an INTERPOL Agent.",

    "release": "2005-09-16",

    "stars": 3,

    "boxoffice": 24033036,

    "posterURL": "..Q@._V1_SX300.jpg"

  },

  {

    "id": 5,

    "title": "Mad Max: Fury Road",

    "imdb_id": "tt1392190",

    "plot": "In a post-apocalyptic wasteland, a woman rebels against a tyrannical ruler in search for her homeland with the aid of a group of female prisoners, a psychotic worshiper, and a drifter named Max.",

    "release": "2015-05-15",

    "stars": 3,

    "boxoffice": 129483877,

    "posterURL": "..U@._V1_SX300.jpg"

  },

  {

    "id": 9,

    "title": "Black Swan",

    "imdb_id": "tt0947798",

    "plot": "A committed dancer struggles to maintain her sanity after winning the lead role in a production of Tchaikovsky's \\\"Swan Lake\\\".",

    "release": "2010-12-17",

    "stars": 3,

    "boxoffice": 106952327,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BNzY2NzI4OTE5MF5BMl5BanBnXkFtZTcwMjMyNDY4Mw@@._V1_SX300.jpg"

  },

  {

    "id": 10,

    "title": "Pirates of the Caribbean: The Curse of the Black Pearl",

    "imdb_id": "tt0325980",

    "plot": "Blacksmith Will Turner teams up with eccentric pirate \\\"Captain\\\" Jack Sparrow to save his love, the governor's daughter, from Jack's former pirate allies, who are now undead.",

    "release": "2003-07-09",

    "stars": 2,

    "boxoffice": 305343252,

    "posterURL": "..U@._V1_SX300.jpg"

  },

  {

    "id": 11,

    "title": "Pirate Radio",

    "imdb_id": "tt1131729",

    "plot": "A band of rogue DJs that captivated Britain, playing the music that defined a generation and standing up to a government that wanted classical music, and nothing else, on the airwaves.",

    "release": "2009-11-13",

    "stars": 2,

    "boxoffice": 8000000,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTMzMjYzMTMyM15BMl5BanBnXkFtZTcwOTk5NDA5Mg@@._V1_SX300.jpg"

  },

  {

    "id": 12,

    "title": "Radio",

    "imdb_id": "tt0316465",

    "plot": "The story of a high school coach and the developmentally challenged man who he took under his wing.",

    "release": "2003-10-24",

    "stars": 2,

    "boxoffice": 52277485,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 13,

    "title": "The Avengers",

    "imdb_id": "tt0848228",

    "plot": "Earth's mightiest heroes must come together and learn to fight as a team if they are going to stop the mischievous Loki and his alien army from enslaving humanity.",

    "release": "2012-05-04",

    "stars": 4,

    "boxoffice": 623279547,

    "posterURL": "..U@._V1_SX300.jpg"

  },

  {

    "id": 14,

    "title": "Avengers: Age of Ultron",

    "imdb_id": "tt2395427",

    "plot": "When Tony Stark and Bruce Banner try to jump-start a dormant peacekeeping program called Ultron, things go horribly wrong and it's up to Earth's mightiest heroes to stop the villainous Ultron from enacting his terrible plan.",

    "release": "2015-05-01",

    "stars": 4,

    "boxoffice": 429113729,

    "posterURL": "..g@._V1_SX300.jpg"

  },

  {

    "id": 15,

    "title": "Avengers: Infinity War",

    "imdb_id": "tt4154756",

    "plot": "The Avengers and their allies must be willing to sacrifice all in an attempt to defeat the powerful Thanos before his blitz of devastation and ruin puts an end to the universe.",

    "release": "2018-04-27",

    "stars": 4,

    "boxoffice": 664987816,

    "posterURL": "..M@._V1_SX300.jpg"

  },

  {

    "id": 17,

    "title": "Batman Begins",

    "imdb_id": "tt0372784",

    "plot": "After training with his mentor, Batman begins his fight to free crime-ridden Gotham City from corruption.",

    "release": "2005-06-15",

    "stars": 4,

    "boxoffice": 204100000,

    "posterURL": "..M@._V1_SX300.jpg"

  },

  {

    "id": 18,

    "title": "The Dark Knight",

    "imdb_id": "tt0468569",

    "plot": "When the menace known as the Joker emerges from his mysterious past, he wreaks havoc and chaos on the people of Gotham. The Dark Knight must accept one of the greatest psychological and physical tests of his ability to fight injustice.",

    "release": "2008-07-18",

    "stars": 5,

    "boxoffice": 664987816,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTMxNTMwODM0NF5BMl5BanBnXkFtZTcwODAyMTk2Mw@@._V1_SX300.jpg"

  },

  {

    "id": 19,

    "title": "The Dark Knight Rises",

    "imdb_id": "tt1345836",

    "plot": "Eight years after the Joker's reign of anarchy, Batman, with the help of the enigmatic Catwoman, is forced from his exile to save Gotham City, now on the edge of total annihilation, from the brutal guerrilla terrorist Bane.",

    "release": "2012-07-20",

    "stars": 3,

    "boxoffice": 448130642,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTk4ODQzNDY3Ml5BMl5BanBnXkFtZTcwODA0NTM4Nw@@._V1_SX300.jpg"

  },

  {

    "id": 20,

    "title": "Zombieland",

    "imdb_id": "tt1156398",

    "plot": "A shy student trying to reach his family in Ohio, a gun-toting tough guy trying to find the last Twinkie, and a pair of sisters trying to get to an amusement park join forces to travel across a zombie-filled America.",

    "release": "2009-10-02",

    "stars": 2,

    "boxoffice": 75590286,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTU5MDg0NTQ1N15BMl5BanBnXkFtZTcwMjA4Mjg3Mg@@._V1_SX300.jpg"

  },

  {

    "id": 22,

    "title": "Interstellar",

    "imdb_id": "tt0816692",

    "plot": "A team of explorers travel through a wormhole in space in an attempt to ensure humanity's survival.",

    "release": "2014-11-07",

    "stars": 1,

    "boxoffice": 158737441,

    "posterURL": "..U@._V1_SX300.jpg"

  },

  {

    "id": 24,

    "title": "Star Wars: Episode V - The Empire Strikes Back",

    "imdb_id": "tt0080684",

    "plot": "After the rebels are brutally overpowered by the Empire on the ice planet Hoth, Luke Skywalker begins Jedi training with Yoda, while his friends are pursued by Darth Vader.",

    "release": "1980-06-20",

    "stars": 5,

    "boxoffice": 4548170,

    "posterURL": "..M@._V1_SX300.jpg"

  },

  {

    "id": 26,

    "title": "Star Trek",

    "imdb_id": "tt0796366",

    "plot": "The brash James T. Kirk tries to live up to his father's legacy with Mr. Spock keeping him in check as a vengeful Romulan from the future creates black holes to destroy the Federation one planet at a time.",

    "release": "2009-05-08",

    "stars": 4,

    "boxoffice": 257704099,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMjE5NDQ5OTE4Ml5BMl5BanBnXkFtZTcwOTE3NDIzMw@@._V1_SX300.jpg"

  },

  {

    "id": 27,

    "title": "Rogue One: A Star Wars Story",

    "imdb_id": "tt3748528",

    "plot": "The daughter of an Imperial scientist joins the Rebel Alliance in a risky move to steal the Death Star plans.",

    "release": "2016-12-16",

    "stars": 3,

    "boxoffice": 664987816,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 28,

    "title": "Ingrid Goes West",

    "imdb_id": "tt5962210",

    "plot": "An unhinged social media stalker moves to LA and insinuates herself into the life of an Instagram star.",

    "release": "2017-08-25",

    "stars": 2,

    "boxoffice": 840657,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 29,

    "title": "Law Abiding Citizen",

    "imdb_id": "tt1197624",

    "plot": "A frustrated man decides to take justice into his own hands after a plea bargain sets one of his family's killers free. He targets not only the killer but also the district attorney and others involved in the deal.",

    "release": "2009-10-16",

    "stars": 2,

    "boxoffice": 73343413,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTMyODY1NTg1N15BMl5BanBnXkFtZTcwMTUyODI4Mg@@._V1_SX300.jpg"

  },

  {

    "id": 30,

    "title": "Monster-in-Law",

    "imdb_id": "tt0369735",

    "plot": "The love life of Charlotte is reduced to an endless string of disastrous blind dates, until she meets the perfect man, Kevin. Unfortunately, his merciless mother will do anything to destroy their relationship.",

    "release": "2005-05-13",

    "stars": 2,

    "boxoffice": 82820167,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 35,

    "title": "Edge of Tomorrow",

    "imdb_id": "tt1631867",

    "plot": "A soldier fighting aliens gets to relive the same day over and over again, the day restarting every time he dies.",

    "release": "2014-06-06",

    "stars": 3,

    "boxoffice": 77121429,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 36,

    "title": "The Edge of Seventeen",

    "imdb_id": "tt1878870",

    "plot": "High-school life gets even more unbearable for Nadine when her best friend, Krista, starts dating her older brother.",

    "release": "2016-11-18",

    "stars": 3,

    "boxoffice": 14260193,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 39,

    "title": "American Sniper",

    "imdb_id": "tt2179136",

    "plot": "Navy S.E.A.L. sniper Chris Kyle's pinpoint accuracy saves countless lives on the battlefield and turns him into a legend. Back home to his wife and kids after four tours of duty, however, Chris finds that it is the war he can't leave behind.",

    "release": "2015-01-16",

    "stars": 4,

    "boxoffice": 274377268,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 40,

    "title": "Beauty and the Beast",

    "imdb_id": "tt2771200",

    "plot": "A selfish prince is cursed to become a monster for the rest of his life, unless he learns to fall in love with a beautiful young woman he keeps prisoner.",

    "release": "2017-03-17",

    "stars": 3,

    "boxoffice": 503974884,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 45,

    "title": "Scott Pilgrim vs. the World",

    "imdb_id": "tt0446029",

    "plot": "Scott Pilgrim must defeat his new girlfriend's seven evil exes in order to win her heart.",

    "release": "2010-08-13",

    "stars": 1,

    "boxoffice": 31494270,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTkwNTczNTMyOF5BMl5BanBnXkFtZTcwNzUxOTUyMw@@._V1_SX300.jpg"

  },

  {

    "id": 46,

    "title": "Swiss Army Man",

    "imdb_id": "tt4034354",

    "plot": "A hopeless man stranded on a deserted island befriends a dead body and together they go on a surreal journey to get home.",

    "release": "2016-07-01",

    "stars": 2,

    "boxoffice": 4208879,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 47,

    "title": "Harry Potter and the Chamber of Secrets",

    "imdb_id": "tt0295297",

    "plot": "An ancient prophecy seems to be coming true when a mysterious presence begins stalking the corridors of a school of magic and leaving its victims paralyzed.",

    "release": "2002-11-15",

    "stars": 3,

    "boxoffice": 261835892,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTcxODgwMDkxNV5BMl5BanBnXkFtZTYwMDk2MDg3._V1_SX300.jpg"

  },

  {

    "id": 48,

    "title": "Harry Potter and the Prisoner of Azkaban",

    "imdb_id": "tt0304141",

    "plot": "It's Harry's third year at Hogwarts; not only does he have a new \\\"Defense Against the Dark Arts\\\" teacher, but there is also trouble brewing. Convicted murderer Sirius Black has escaped the Wizards' Prison and is coming after Harry.",

    "release": "2004-06-04",

    "stars": 3,

    "boxoffice": 249358727,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTY4NTIwODg0N15BMl5BanBnXkFtZTcwOTc0MjEzMw@@._V1_SX300.jpg"

  },

  {

    "id": 49,

    "title": "Harry Potter and the Goblet of Fire",

    "imdb_id": "tt0330373",

    "plot": "A young wizard finds himself competing in a hazardous tournament between rival schools of magic, but he is distracted by recurring nightmares.",

    "release": "2005-11-18",

    "stars": 4,

    "boxoffice": 289994397,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTI1NDMyMjExOF5BMl5BanBnXkFtZTcwOTc4MjQzMQ@@._V1_SX300.jpg"

  },

  {

    "id": 50,

    "title": "Harry Potter and the Order of the Phoenix",

    "imdb_id": "tt0373889",

    "plot": "With their warning about Lord Voldemort's return scoffed at, Harry and Dumbledore are targeted by the Wizard authorities as an authoritarian bureaucrat slowly seizes power at Hogwarts.",

    "release": "2007-07-11",

    "stars": 4,

    "boxoffice": 291980108,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTM0NTczMTUzOV5BMl5BanBnXkFtZTYwMzIxNTg3._V1_SX300.jpg"

  },

  {

    "id": 51,

    "title": "Harry Potter and the Deathly Hallows: Part 1",

    "imdb_id": "tt0926084",

    "plot": "As Harry, Ron and Hermione race against time and evil to destroy the Horcruxes, they uncover the existence of the three most powerful objects in the wizarding world: the Deathly Hallows.",

    "release": "2010-11-19",

    "stars": 4,

    "boxoffice": 294980434,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTQ2OTE1Mjk0N15BMl5BanBnXkFtZTcwODE3MDAwNA@@._V1_SX300.jpg"

  },

  {

    "id": 52,

    "title": "Harry Potter and the Half-Blood Prince",

    "imdb_id": "tt0417741",

    "plot": "As Harry Potter begins his sixth year at Hogwarts, he discovers an old book marked as \\\"the property of the Half-Blood Prince\\\" and begins to learn more about Lord Voldemort's dark past.",

    "release": "2009-07-15",

    "stars": 3,

    "boxoffice": 301920409,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BNzU3NDg4NTAyNV5BMl5BanBnXkFtZTcwOTg2ODg1Mg@@._V1_SX300.jpg"

  },

  {

    "id": 54,

    "title": "Harry Potter and the Deathly Hallows: Part 2",

    "imdb_id": "tt1201607",

    "plot": "Harry, Ron, and Hermione search for Voldemort's remaining Horcruxes in their effort to destroy the Dark Lord as the final battle rages on at Hogwarts.",

    "release": "2011-07-15",

    "stars": 2,

    "boxoffice": 381000185,

    "posterURL": "..M@._V1_SX300.jpg"

  },

  {

    "id": 55,

    "title": "Seven Psychopaths",

    "imdb_id": "tt1931533",

    "plot": "A struggling screenwriter inadvertently becomes entangled in the Los Angeles criminal underworld after his oddball friends kidnap a gangster's beloved Shih Tzu.",

    "release": "2012-10-12",

    "stars": 2,

    "boxoffice": 15000000,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTgwMzUxMjc0M15BMl5BanBnXkFtZTcwMzQ2MjYyOA@@._V1_SX300.jpg"

  },

  {

    "id": 56,

    "title": "Seven Pounds",

    "imdb_id": "tt0814314",

    "plot": "A man with a fateful secret embarks on an extraordinary journey of redemption by forever changing the lives of seven strangers.",

    "release": "2008-12-19",

    "stars": 4,

    "boxoffice": 69951824,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTU0NzY0MTY5OF5BMl5BanBnXkFtZTcwODY3MDEwMg@@._V1_SX300.jpg"

  },

  {

    "id": 57,

    "title": "V for Vendetta",

    "imdb_id": "tt0434409",

    "plot": "In a future British tyranny, a shadowy freedom fighter, known only by the alias of \\\"V\\\", plots to overthrow it with the help of a young woman.",

    "release": "2006-03-17",

    "stars": 4,

    "boxoffice": 70500000,

    "posterURL": "..Y@._V1_SX300.jpg"

  },

  {

    "id": 58,

    "title": "No Country for Old Men",

    "imdb_id": "tt0477348",

    "plot": "Violence and mayhem ensue after a hunter stumbles upon a drug deal gone wrong and more than two million dollars in cash near the Rio Grande.",

    "release": "2007-11-21",

    "stars": 3,

    "boxoffice": 74223625,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMjA5Njk3MjM4OV5BMl5BanBnXkFtZTcwMTc5MTE1MQ@@._V1_SX300.jpg"

  },

  {

    "id": 59,

    "title": "Requiem for a Dream",

    "imdb_id": "tt0180093",

    "plot": "The drug-induced utopias of four Coney Island people are shattered when their addictions run deep.",

    "release": "2000-12-15",

    "stars": 2,

    "boxoffice": 2546851,

    "posterURL": "..Y@._V1_SX300.jpg"

  },

  {

    "id": 60,

    "title": "War for the Planet of the Apes",

    "imdb_id": "tt3450958",

    "plot": "After the apes suffer unimaginable losses, Caesar wrestles with his darker instincts and begins his own mythic quest to avenge his kind.",

    "release": "2017-07-14",

    "stars": 2,

    "boxoffice": 146872826,

    "posterURL": "..k@._V1_SX300.jpg"

  },

  {

    "id": 61,

    "title": "Grindhouse",

    "imdb_id": "tt0462322",

    "plot": "Quentin Tarantino and Robert Rodriguez's homage to exploitation double features in the 60s and 70s with two back-to-back cult films that include previews of coming attractions between them.",

    "release": "2007-04-06",

    "stars": 2,

    "boxoffice": 24928753,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMjA0MzExNzc3MV5BMl5BanBnXkFtZTcwODAxMzM0MQ@@._V1_SX300.jpg"

  },

  {

    "id": 62,

    "title": "Captain America: The Winter Soldier",

    "imdb_id": "tt1843866",

    "plot": "As Steve Rogers struggles to embrace his role in the modern world, he teams up with a fellow Avenger and S.H.I.E.L.D agent, Black Widow, to battle a new threat from history: an assassin known as the Winter Soldier.",

    "release": "2014-04-04",

    "stars": 4,

    "boxoffice": 228636083,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 63,

    "title": "Captain America: The First Avenger",

    "imdb_id": "tt0458339",

    "plot": "Steve Rogers, a rejected military soldier transforms into Captain America after taking a dose of a \\\"Super-Soldier serum\\\". But being Captain America comes at a price as he attempts to take down a war monger and a terrorist organization.",

    "release": "2011-07-22",

    "stars": 4,

    "boxoffice": 176636816,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTYzOTc2NzU3N15BMl5BanBnXkFtZTcwNjY3MDE3NQ@@._V1_SX300.jpg"

  },

  {

    "id": 64,

    "title": "Captain America: Civil War",

    "imdb_id": "tt3498820",

    "plot": "Political involvement in the Avengers' affairs causes a rift between Captain America and Iron Man.",

    "release": "2016-05-06",

    "stars": 4,

    "boxoffice": 408080554,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 66,

    "title": "Man of Steel",

    "imdb_id": "tt0770828",

    "plot": "Clark Kent is an alien who as a child was evacuated from his dying world and came to Earth, living as a normal human. But when survivors of his alien home invade Earth, he must reveal himself to the world.",

    "release": "2013-06-14",

    "stars": 3,

    "boxoffice": 291021565,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTk5ODk1NDkxMF5BMl5BanBnXkFtZTcwNTA5OTY0OQ@@._V1_SX300.jpg"

  },

  {

    "id": 67,

    "title": "Thor",

    "imdb_id": "tt0800369",

    "plot": "The powerful, but arrogant god Thor, is cast out of Asgard to live amongst humans in Midgard (Earth), where he soon becomes one of their finest defenders.",

    "release": "2011-05-06",

    "stars": 3,

    "boxoffice": 181015141,

    "posterURL": "..g@._V1_SX300.jpg"

  },

  {

    "id": 68,

    "title": "Thor: The Dark World",

    "imdb_id": "tt1981115",

    "plot": "When Dr. Jane Foster gets cursed with a powerful entity known as the Aether, Thor is heralded of the cosmic event known as the Convergence and the genocidal Dark Elves.",

    "release": "2013-11-08",

    "stars": 4,

    "boxoffice": 206360018,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTQyNzAwOTUxOF5BMl5BanBnXkFtZTcwMTE0OTc5OQ@@._V1_SX300.jpg"

  },

  {

    "id": 69,

    "title": "Thor: Ragnarok",

    "imdb_id": "tt3501632",

    "plot": "Thor is imprisoned on the planet Sakaar, and must race against time to return to Asgard and stop Ragnarök, the destruction of his world, at the hands of the powerful and ruthless villain Hela.",

    "release": "2017-11-03",

    "stars": 4,

    "boxoffice": 314971245,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 70,

    "title": "Iron Man",

    "imdb_id": "tt0371746",

    "plot": "After being held captive in an Afghan cave, billionaire engineer Tony Stark creates a unique weaponized suit of armor to fight evil.",

    "release": "2008-05-02",

    "stars": 4,

    "boxoffice": 318298180,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTczNTI2ODUwOF5BMl5BanBnXkFtZTcwMTU0NTIzMw@@._V1_SX300.jpg"

  },

  {

    "id": 71,

    "title": "Iron Man 3",

    "imdb_id": "tt1300854",

    "plot": "When Tony Stark's world is torn apart by a formidable terrorist called the Mandarin, he starts an odyssey of rebuilding and retribution.",

    "release": "2013-05-03",

    "stars": 4,

    "boxoffice": 408992272,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMjE5MzcyNjk1M15BMl5BanBnXkFtZTcwMjQ4MjcxOQ@@._V1_SX300.jpg"

  },

  {

    "id": 72,

    "title": "Iron Man 2",

    "imdb_id": "tt1228705",

    "plot": "With the world now aware of his identity as Iron Man, Tony Stark must contend with both his declining health and a vengeful mad man with ties to his father's legacy.",

    "release": "2010-05-07",

    "stars": 4,

    "boxoffice": 312057433,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTM0MDgwNjMyMl5BMl5BanBnXkFtZTcwNTg3NzAzMw@@._V1_SX300.jpg"

  },

  {

    "id": 74,

    "title": "Spider-Man",

    "imdb_id": "tt0145487",

    "plot": "When bitten by a genetically modified spider, a nerdy, shy, and awkward high school student gains spider-like abilities that he eventually must use to fight evil as a superhero after tragedy befalls his family.",

    "release": "2002-05-03",

    "stars": 3,

    "boxoffice": 403706375,

    "posterURL": "..g@._V1_SX300.jpg"

  },

  {

    "id": 75,

    "title": "The Amazing Spider-Man",

    "imdb_id": "tt0948470",

    "plot": "After Peter Parker is bitten by a genetically altered spider, he gains newfound, spider-like powers and ventures out to solve the mystery of his parent's mysterious death.",

    "release": "2012-07-03",

    "stars": 3,

    "boxoffice": 262030663,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMjMyOTM4MDMxNV5BMl5BanBnXkFtZTcwNjIyNzExOA@@._V1_SX300.jpg"

  },

  {

    "id": 76,

    "title": "Spider-Man 2",

    "imdb_id": "tt0316654",

    "plot": "Peter Parker is beset with troubles in his failing personal life as he battles a brilliant scientist named Doctor Otto Octavius.",

    "release": "2004-06-30",

    "stars": 4,

    "boxoffice": 373377893,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 77,

    "title": "Spider-Man 3",

    "imdb_id": "tt0413300",

    "plot": "A strange black entity from another world bonds with Peter Parker and causes inner turmoil as he contends with new villains, temptations, and revenge.",

    "release": "2007-05-04",

    "stars": 4,

    "boxoffice": 336530303,

    "posterURL": "..M@._V1_SX300.jpg"

  },

  {

    "id": 78,

    "title": "Spider-Man: Homecoming",

    "imdb_id": "tt2250912",

    "plot": "Peter Parker balances his life as an ordinary high school student in Queens with his superhero alter-ego Spider-Man, and finds himself on the trail of a new menace prowling the skies of New York City.",

    "release": "2017-07-07",

    "stars": 4,

    "boxoffice": 334166825,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 79,

    "title": "The Amazing Spider-Man 2",

    "imdb_id": "tt1872181",

    "plot": "When New York is put under siege by Oscorp, it is up to Spider-Man to save the city he swore to protect as well as his loved ones.",

    "release": "2014-05-02",

    "stars": 4,

    "boxoffice": 183277573,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 80,

    "title": "Just Friends",

    "imdb_id": "tt0433400",

    "plot": "While visiting his hometown during Christmas, a man comes face-to-face with his old high school crush whom he was best friends with -- a woman whose rejection of him turned him into a ferocious womanizer.",

    "release": "2005-11-23",

    "stars": 3,

    "boxoffice": 32596916,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMjA0Mzg2NjUzMl5BMl5BanBnXkFtZTcwNDg2ODUzMQ@@._V1_SX300.jpg"

  },

  {

    "id": 81,

    "title": "Catch Me If You Can",

    "imdb_id": "tt0264464",

    "plot": "A seasoned FBI agent pursues Frank Abagnale Jr. who, before his 19th birthday, successfully forged millions of dollars' worth of checks while posing as a Pan Am pilot, a doctor, and a legal prosecutor.",

    "release": "2002-12-25",

    "stars": 3,

    "boxoffice": 164400000,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTY5MzYzNjc5NV5BMl5BanBnXkFtZTYwNTUyNTc2._V1_SX300.jpg"

  },

  {

    "id": 82,

    "title": "Goon",

    "imdb_id": "tt1456635",

    "plot": "Labeled an outcast by his brainy family, a bouncer overcomes long odds to lead a team of under performing misfits to semi-pro hockey glory, beating the crap out of everything that stands in his way.",

    "release": "2012-02-24",

    "stars": 2,

    "boxoffice": 840657,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTcxOTQwMTQ3MF5BMl5BanBnXkFtZTcwMDcyOTQwNw@@._V1_SX300.jpg"

  },

  {

    "id": 83,

    "title": "Taken",

    "imdb_id": "tt0936501",

    "plot": "A retired CIA agent travels across Europe and relies on his old skills to save his estranged daughter, who has been kidnapped while on a trip to Paris.",

    "release": "2009-01-30",

    "stars": 2,

    "boxoffice": 144924285,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTM4NzQ0OTYyOF5BMl5BanBnXkFtZTcwMDkyNjQyMg@@._V1_SX300.jpg"

  },

  {

    "id": 84,

    "title": "Taken 2",

    "imdb_id": "tt1397280",

    "plot": "In Istanbul, retired CIA operative Bryan Mills and his wife are taken hostage by the father of a kidnapper Mills killed while rescuing his daughter.",

    "release": "2012-10-05",

    "stars": 2,

    "boxoffice": 139852115,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BMTkwNTQ0ODExOV5BMl5BanBnXkFtZTcwNjU3NDQwOA@@._V1_SX300.jpg"

  },

  {

    "id": 86,

    "title": "Ant-Man",

    "imdb_id": "tt0478970",

    "plot": "Armed with a super-suit with the astonishing ability to shrink in scale but increase in strength, cat burglar Scott Lang must embrace his inner hero and help his mentor, Dr. Hank Pym, plan and pull off a heist that will save the world.",

    "release": "2015-07-17",

    "stars": 2,

    "boxoffice": 138002223,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 88,

    "title": "Batman v Superman: Dawn of Justice",

    "imdb_id": "tt2975590",

    "plot": "Fearing that the actions of Superman are left unchecked, Batman takes on the Man of Steel, while the world wrestles with what kind of a hero it really needs.",

    "release": "2016-03-25",

    "stars": 4,

    "boxoffice": 293792936,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 89,

    "title": "Justice League",

    "imdb_id": "tt0974015",

    "plot": "Fueled by his restored faith in humanity and inspired by Superman's selfless act, Bruce Wayne enlists the help of his new-found ally, Diana Prince, to face an even greater enemy.",

    "release": "2017-11-17",

    "stars": 4,

    "boxoffice": 227032490,

    "posterURL": "..U@._V1_SX300.jpg"

  },

  {

    "id": 90,

    "title": "Superman Returns",

    "imdb_id": "tt0348150",

    "plot": "Superman returns to Earth after spending five years in space examining his homeworld Krypton. But he finds things have changed while he was gone, and he must once again prove himself important to the world.",

    "release": "2006-06-28",

    "stars": 4,

    "boxoffice": 200100000,

    "posterURL": "..g@._V1_SX300.jpg"

  },

  {

    "id": 95,

    "title": "Harry Potter and the Sorcerer's Stone",

    "imdb_id": "tt0241527",

    "plot": "An orphaned boy enrolls in a school of wizardry, where he learns the truth about himself, his family and the terrible evil that haunts the magical world.",

    "release": "2001-11-16",

    "stars": 4,

    "boxoffice": 317557891,

    "posterURL": "..c@._V1_SX300.jpg"

  },

  {

    "id": 101,

    "title": "Shrek",

    "imdb_id": "tt0126029",

    "plot": "A mean lord exiles fairytale creatures to the swamp of a grumpy ogre, who must go on a quest and rescue a princess for the lord in order to get his land back.",

    "release": "2001-05-18",

    "stars": 3,

    "boxoffice": 266982666,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 102,

    "title": "Shrek 2",

    "imdb_id": "tt0298148",

    "plot": "Princess Fiona's parents invite her and Shrek to dinner to celebrate her marriage. If only they knew the newlyweds were both ogres.",

    "release": "2004-05-19",

    "stars": 3,

    "boxoffice": 436471036,

    "posterURL": "..I@._V1_SX300.jpg"

  },

  {

    "id": 103,

    "title": "Shrek the Third",

    "imdb_id": "tt0413267",

    "plot": "When his new father-in-law, King Harold falls ill, Shrek is looked at as the heir to the land of Far, Far Away. Not one to give up his beloved swamp, Shrek recruits his friends Donkey and Puss in Boots to install the rebellious Artie as the new king. Princess Fiona, however, rallies a band of royal girlfriends to fend off a coup d'etat by the jilted Prince Charming.",

    "release": "2007-05-18",

    "stars": 3,

    "boxoffice": 320706665,

    "posterURL": "https://m.media-amazon.com/images/M/MV5BOTgyMjc3ODk2MV5BMl5BanBnXkFtZTcwMjY0MjEzMw@@._V1_SX300.jpg"

  },

  {

    "id": 104,

    "title": "The Lego Movie",

    "imdb_id": "tt1490017",

    "plot": "An ordinary LEGO construction worker, thought to be the prophesied as \\\"special\\\", is recruited to join a quest to stop an evil tyrant from gluing the LEGO universe into eternal stasis.",

    "release": "2014-02-07",

    "stars": 3,

    "boxoffice": 244870202,

    "posterURL": "..E@._V1_SX300.jpg"

  },

  {

    "id": 108,

    "title": "The Lego Batman Movie",

    "imdb_id": "tt4116284",

    "plot": "A cooler-than-ever Bruce Wayne must deal with the usual suspects as they plan to rule Gotham City, while discovering that he has accidentally adopted a teenage orphan who wishes to become his sidekick.",

    "release": "2017-02-10",

    "stars": 3,

    "boxoffice": 175686290,

    "posterURL": "..I@._V1_SX300.jpg"

  }

]


Summary In this challenge you will search through JSON data to find movie titles for highest and lowest box office amounts. Files Review the nature of the project's JSON data, the HTML design, and folder names. Assessment Challenge When the user clicks the Find button, call up the movies that have the highest or lowest box office numbers according to the user's dropdown list selection. Make sure that you dynamically determine the highest and lowest box office values and do not hardcode them. Format the resulting output as an tag, showing the movie title, and linking the href attribute to the movie's poster URL as follows: Highest Box Office Sales Avengers: Infinity War The Dark Knight Rogue One: A Star Wars Story. Figure 1: User selects highest box office sales Find Lowest Box Office Sales Ingrid Goes West Goon Figure 2: User selects lowest box office sales Find

Step by Step Solution

3.37 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this challenge youll need to follow these steps Parse the JSON data to extract movie titles ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!