Coding Challenge: Star Wars Universe

Let's get the data from the Star Wars API and display it on your page.

We'll cover the following

Problem statement

The open Star Wars API has all the Star Wars data you’ve ever wanted. The API documentation is available here. In this exercise, you’ll show information about some of the planets in the universe. Write the associated JavaScript code so that a list of links for the first three planets identifiers (from 1 to 3) is generated automatically. Clicking on a planet link shows information about it. Here is the starter HTML and JavaScript code.

Expected output

After adding your code, the final output should look like this:

Get hands-on with 1400+ tech skills courses.