Now that you know what APIs are, you have the power to combine functionality provided by other computers in your app.

Your challenge is to use the below APIs (pick your favourite) and build something fun:

Star Wars API or Star Wars API (clone)

Numbers API

Chuck Norris API

Pokemon API

International Space Station API (gives you the coordinates to where the international space station is!)

Using one of the above APIs, build a single page application that uses fetch() to retrieve information and display it on your website. Once done, share your project on Github Pages and share it with the community on Discord. I will be featuring my favourite ones in an upcoming video!

By the way, this is my favourite resource for finding an API when I have an idea for a project: https://public-apis.xyz/

Every API is different, but once you read through the documentation, their underlying principles are the same. It will unlock a lot of power when working with websites. Use the power wisely :)

If you have any questions, reach out to our student community in the #helpme or #js channel on Discord (Lecture 3 provides the link if you have not yet joined)!