Relative Content

Tag Archive for javascriptapi

cannot resolve delay timer

I cannot get setTimeout to work, I finally got to this code that does not generate a “note definded” error for setTimeout, but I cannot get the delay to work, this Execution Log immediately registers the correct output. Admittingly I am a newbie newbie to all of this, however I am tireless in trying to learn with a lot of help from stackoverflow, however I do not understand this issue. Here is one of many code attempts:

how to get entire data set from marvel api

I am fetching data & my pagination buttons seem to be working. I have created a searchCharacters function which filters the data based on the search input, so if i search ‘man’ i expect all characters that include ‘man’ to be displayed. But the issue i am having is the searchCharacter function is only filtering data from the ‘currentPage’ and not the entire dataset of ~1500 odd marvel characters, how would i go about achieving this?