This project fetches user data from the JSONPlaceholder API and displays it on a webpage using JavaScript's Fetch API.
- Fetches user data from a public API
- Displays name, email, address, and phone for each user
- Error handling for network issues
- Reload button to refetch data
- Open
index.htmlin your browser - User data will automatically load from the API
- Click "Reload Data" to refresh the user list
- To test error handling, disable your internet and click reload
- HTML
- CSS
- JavaScript (Fetch API)
- JSONPlaceholder API
https://jsonplaceholder.typicode.com/users