Created
October 11, 2019 14:06
-
-
Save mariuslazar93/c8d33d58ffd0a118edc947d160c5a23f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Code interview | |
Use the [Star Wars API](http://swapi.co) to generate a list of the films that a particular character appears in. | |
### Objectives | |
- Allow users to choose a character from the provided list of characters | |
- Upon selection of a character, the UI should update to display information about **each** of the films that character appears in (title, release date). | |
- Handle HTTP errors | |
- Make it pretty! | |
Feel free to use any framework or library you'd like. | |
---- | |
`characters.json` | |
``` | |
{ | |
"characters": [ | |
{ | |
"name": "Luke Skywalker", | |
"url": "https://swapi.co/api/people/1/" | |
}, | |
{ | |
"name": "Darth Vader", | |
"url": "https://swapi.co/api/people/4/" | |
}, | |
{ | |
"name": "Obi-wan Kenobi", | |
"url": "https://swapi.co/api/people/unknown/" | |
} | |
] | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment