Skip to content

Instantly share code, notes, and snippets.

@YasirGaji
Created January 24, 2022 14:29
Show Gist options
  • Save YasirGaji/b8ab897ff892c410d0f7218e0e21b4bc to your computer and use it in GitHub Desktop.
Save YasirGaji/b8ab897ff892c410d0f7218e0e21b4bc to your computer and use it in GitHub Desktop.
This is the first Json file for how to fetch JSON data using the XHR object for the "Asynchronous programming in Javascript" article by Yasir Gaji
{
"id": 1,
"name": "Yasir Gaji",
"company": "Pleasant Codes Inc.",
"email": "hello@gmail.com",
"info": "Created this webpage to demonstrate how to get JSON data locally from a file and display it in a webpage using the XHR object."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment