1 min read

Show top 10 articles from Hacker News

Show top 10 articles from Hacker News

Build a React component that shows a list of 10 articles from the Hacker News API.

  • use the Hacker News "Top Articles" API *
  • for each article, display its score, title, url and author
  • do not display the article details until all the data is loaded

* you'll notice I did not include a link to the API - this is on purpose! Looking up the API documentation and figuring out what endpoint to use is part of the challenge.

To get started, you can clone this starter repo: https://github.com/reactpractice-dev/hacker-news-top-10.

Good luck!

When you're ready to check your work, check out the official solution over here.

Get a new challenge in your inbox every other week.

Learn React by practice. Get out of tutorial hell and finally be able to just build things.