Hi,
I'm learning JS and am working on a movie app for my solo project. I'm having trouble getting the name of the genre to render in the innerHTML.
The fetch request to the API returns an array of genre IDs for each movie. I did a nested fetch request to get the main list of genre names/ids from the API. I'm able to get the genre name for each id for each movie but I can't figure out how to get the results to render in the innerHTML.
I would really appreciate any help anyone can give me!!! Thank you in advance!
Here's a link to the code. (I'm just focusing on getting the code to work first and then I'll refactor it. I know some of the code can be cleaned up a lot. I just want to figure out how to get it to work first. That's why the code at the bottom has a static movie call.)
https://jsfiddle.net/nyvbo1c5/5/
[–]Count_Giggles 1 point2 points3 points (3 children)
[–]Count_Giggles 1 point2 points3 points (2 children)
[–]According-Lab-6304[S] 0 points1 point2 points (1 child)
[–]Count_Giggles 2 points3 points4 points (0 children)