Skip to content

reactpractice-dev/hacker-news-top-10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Show top 10 articles from Hacker News

This repository is the companion to the "Show top 10 articles from Hacker News" practice exercise.

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. When you're ready to check your work, check out the official solution.

Getting started:

  • npm install
  • npm run dev

Add your code to the src/HackerNewsTop10.jsx file.

About

Practice React by fetching the top 10 articles from Hacker News and displaying them with their details

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published