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_planets.html
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|