Section 1 - Instruction

You've learned about APIs and how they differ from regular websites. Now let's practice identifying when to use each approach and what makes them different.

Understanding this distinction is key to how modern web applications work.

Engagement Message

Ready to explore the differences between APIs and websites?

Section 2 - Practice

Type

Sort Into Boxes

Practice Question

Let's identify whether each scenario would use a regular website or an API. Sort these examples:

Labels

  • First Box Label: Regular Website
  • Second Box Label: API

First Box Items

  • Reading blog posts
  • Shopping catalog
  • News article page

Second Box Items

  • Weather app data
  • Mobile app content
  • Restaurant locations
Section 3 - Practice

Type

Multiple Choice

Practice Question

You're a developer choosing between building a website or an API. Which would be better for each scenario?

A. Displaying company information to website visitors - Regular website B. Feeding data to a mobile app - API C. Providing current stock prices to multiple apps - API
D. All of the above choices are correct

Suggested Answers

  • A
  • B
  • C
  • D - Correct
Section 4 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Fill in the blanks about the key differences:

A regular website sends [[blank:formatted]] web pages designed for humans to read. An API sends [[blank:raw]] data that applications can use however they want.

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal