1 Quiz: Fetch and Show First Planet
Instructions
- If you haven't already, read this and follow the instructions on working with the Exoplanet Explorer repo.
- Checkout the
first-thumb-startbranch and navigate toapp/scripts/app.js. - Get the planet data and add the search header.
- Create the first thumbnail with
createPlanetThumb(data) - Handle errors!
- Pass
'unknown'to the search header. - Log the error.
- Pass
Checkout thefirst-thumb-solutionbranch to see my code!
Answer Video