zakirali1 / Movie-Zone

MIT License
1 stars 4 forks source link

Get input local storage price searchjs #45

Closed YemiOyedeji89 closed 1 year ago

YemiOyedeji89 commented 1 year ago

I have change the logic how pricesearch.js file gets the movieTitle. Now i am getting the movie title from the response title from the omdb response. This helps to solve the issue raised by @W-JK regarding "indiana Jones". using the value from the search input in index_1.html for rapidAPI call is not matching the actual movie displayed when searched. so i have decided to add the movie title coming back from the OMDB Api and set it to local storage as "Movie" so we can accurately display the prices for the movie displayed in the index_1.html. I did add a line of code to the script.Js file to save to local storage.