Skip to content

Instantly share code, notes, and snippets.

@mariuslazar93
Created October 11, 2019 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariuslazar93/c8d33d58ffd0a118edc947d160c5a23f to your computer and use it in GitHub Desktop.
Save mariuslazar93/c8d33d58ffd0a118edc947d160c5a23f to your computer and use it in GitHub Desktop.
# 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