Click on your favourite GOT book and reveal the list of actors who play the main characters! Remember to ask someone from the team for API keys or else this won't work
Have three sections, header, main and section.
Header holds the static landing page, just title and info explaining the site.
Main holds the book list, with event listeners on each book.
Section holds the character list. This is unpopulated until a user clicks on a book, at which point API requests are made and the list is populated.This will either go below the book list or code use display:none and then have it appear after clicking the book.
First lets do #19
And then we can do the render functions #21
And then we can implement everything.
click the book button:
make request to GOT API for character
list request FUNCTION
go through each character: EXTRACT DATA FUNCTION
make new request to GOT API to get actor MAKE REQUEST FUNCTION
get actor EXTRACT DATA
make a request to DB to get link to page (and image) MAKEREQUEST
get link EXTRACT
RENDER
RENDER
replace old ul with new ul
scroll page down to ul