Add code that runs on the window load event. This is done because we can't interact with the HTML elements until the page has loaded. Make a GET request using fetch to the astronauts API https://handlers.education.launchcode.org/static/astronauts.json Do this part inside the load event handler. Add each astronaut returned to the web page. Use the HTML template shown below. Be sure to use the exact HTML including the CSS classes. (starter code contains CSS definitions)
srh-golubski/Fetch-and-JSON-Studio
Releases
No releases published
Languages
- JavaScript 58.1%
- HTML 24.8%
- CSS 17.1%