Closed ravenloue closed 1 year ago
According to the TMDB documentation, each media type has different parameters for the call..
Movies need to have /movie/, People need to have /person/ and TV Shows need to use /tv/.
I should incorporate the media_type from the original call into the id, and then extract the id number only from the attribute.
Added the media type to the id name.
Conditional set up to determine which media type is being clicked to verify how to slice the item's database id from the id attribute.
Once I have the event listeners set, I need to know which API call needs to be made for that specific item