DEV Community

Discussion on: Beginners Guide To Fetching Data With (AJAX, Fetch API & Async/Await)

 
eripanci profile image
Eri Pançi

The data I'm getting from API is an array of movie titles the user search. Then when user clicks for details, I save the movie ID in sessionStorage to open a new window with that movie details.

That was exactly why I asked, to do these in different places in my code. Could I do these in different objects or should I read about JS classes since I don't know them very well to use it?

Thanks again.

Thread Thread
 
bjhaid_93 profile image
/[Abejide Femi Jr]\s/

sorry for the late reply, can you check this out github.com/abejide001/Github-profi....