From 035704c028e49c6b280af4c61f56bb5b4e6036b9 Mon Sep 17 00:00:00 2001 From: Pawan Sirsat Date: Mon, 25 Sep 2023 05:41:19 +0530 Subject: [PATCH 1/2] Create README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ffa6026 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Generate-RandomUser-API +RandomUserGenerator is a web application that utilizes a random user data API to generate and display detailed user profiles +#Link +#https://pawansirsat.github.io/Generate-RandomUser-API/ + +## How This Process Works + +Here's a basic outline of how this process works: + +1. **Fetching Data**: To pull data from an API, JavaScript is often used to make asynchronous requests using the `fetch()` function. This function sends an HTTP request to the API endpoint and waits for a response. + +2. **Receiving Data**: Once the API responds, the data is typically returned in JSON format. JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy to work with in JavaScript. + +3. **Using the Data**: After receiving the data, it can be processed and displayed on the web page as needed. This can involve updating the DOM (Document Object Model) to insert the data into specific HTML elements. + +4. **Saving Data Locally**: In some cases, it may be desirable to save the retrieved data for offline use or to improve performance. Local storage, a feature provided by web browsers, allows developers to store data as key-value pairs in the user's browser. JSON is often used to serialize and deserialize data when saving and retrieving it from local storage. + +By following these steps, web developers can seamlessly integrate data from external APIs into their applications, providing users with dynamic and up-to-date content. + From d47e276457ca7664e47669ad6b22c71642c3798d Mon Sep 17 00:00:00 2001 From: Pawan Sirsat Date: Mon, 25 Sep 2023 05:41:50 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffa6026..5e5cf67 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Generate-RandomUser-API RandomUserGenerator is a web application that utilizes a random user data API to generate and display detailed user profiles -#Link -#https://pawansirsat.github.io/Generate-RandomUser-API/ +# Link +# https://pawansirsat.github.io/Generate-RandomUser-API/ ## How This Process Works