Using Swapi (Star Wars API), I fetched character, planet and starship data, and render respectively on UI. I used vanilla JS. Instead of sending a request, I fetch data from local storage if already exists.
Test it out here: https://codesandbox.io/s/github/ismailsumercetin/swapi_task