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.
npm install
npm run dev
Add your code to the src/HackerNewsTop10.jsx
file.