omdbapi / OMDb-API

The Open Movie Database Bug Tracking
416 stars 20 forks source link

Search and .map function isnt working while im adding in js file #300

Open qureshii66 opened 11 months ago

qureshii66 commented 11 months ago

http://www.[omdbapi.com/?i=tt3896198&apikey=df00624b](http://www.omdbapi.com/?i=tt3896198&apikey=df00624b) i added this link in fetch function when i searched a single movie it works but when i added .map or .forEach to locate a movie from and array its giving error and it directly through my code catch(error) because i used try catch function to avoid errors written your link in try section. what have to do i dont know i tried a lot but not resolved . this is the full code <!DOCTYPE html>

Document

Movies Dashboard