Skip to content

codedByPradeep/fetch-api-users-display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Fetch API Users Display

This project fetches user data from the JSONPlaceholder API and displays it on a webpage using JavaScript's Fetch API.

Features

  • 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

How to Use

  1. Open index.html in your browser
  2. User data will automatically load from the API
  3. Click "Reload Data" to refresh the user list
  4. To test error handling, disable your internet and click reload

Technologies Used

  • HTML
  • CSS
  • JavaScript (Fetch API)
  • JSONPlaceholder API

API Used

https://jsonplaceholder.typicode.com/users

About

Fetches user data from JSONPlaceholder API and displays it using JavaScript Fetch API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published