Skip to content

This is a React web application that fetches and displays random pieces of advice from the Advice Slip JSON API. With each page load, a new piece of advice is generated and displayed to the user. The app also includes a button to allow users to generate a new piece of advice. This project was inspired by the JavaScript Mastery YouTube channel.

Notifications You must be signed in to change notification settings

LokeshGoswami2003/Advice-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advice Generator

This is a simple web application that fetches random advice from an API and displays it on the page using React. The app uses the Advice Slip JSON API to retrieve advice in JSON format.

Features

Fetches and displays a new piece of advice with each page load Allows users to generate a new piece of advice with a button click Displays a loading spinner while advice is being fetched

Technologies

React Axios

Setup

To run this project locally clone the repository and run the following commands:

bash
Copy code
npm install
npm start

This will start the app on http://localhost:3000.

Credits

This project was inspired by the Advice Slip website and the JavaScript Mastery YouTube channel.

About

This is a React web application that fetches and displays random pieces of advice from the Advice Slip JSON API. With each page load, a new piece of advice is generated and displayed to the user. The app also includes a button to allow users to generate a new piece of advice. This project was inspired by the JavaScript Mastery YouTube channel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published