Use JavaScript Fetch API to get user data from JSONPlaceholder and display it.
- Fetch API to retrieve user data
- Async/await for asynchronous handling
- Error handling with
try/catch
- Reload button to refetch data
- Styled user cards with CSS
- Displays name, email, and address
- Clone this repo
- Open
index.html
in Chrome browser - See user data displayed
- Disable internet to test error handling
- Click "Reload Data" button to refetch
- HTML
- CSS
- JavaScript (Fetch API)
- JSONPlaceholder (public API)
- Learned Fetch API
- Understood Promises & async/await
- Practiced JSON parsing
- Implemented error handling