GithubHelp home page GithubHelp logo

siddharth263 / advice-react-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.63 MB

This is simple react web app to show random advices. Do check it out

Home Page: https://tiny-strudel-6a55b2.netlify.app/

HTML 45.02% CSS 37.60% JavaScript 17.38%
axios axios-react css3 css3-animations html-css-javascript reactjs

advice-react-app's Introduction

React Advice App

This is a simple web application built with React that fetches random advice from the Adviceslip API and displays it on the screen. It allows users to fetch new advice by clicking a button.

Features

  • Fetches random advice from the Adviceslip API.
  • Displays the fetched advice on the screen.
  • Allows users to fetch new advice by clicking a button.

Deployment

This project is deployed on Netlify. You can access the deployed version here.

Technologies Used

  • React.js
  • Axios for making HTTP requests
  • Pure CSS for styling

Getting Started

To get a local copy of the project up and running on your machine, follow these steps:

  1. Clone the repository to your local machine: (git clone https://github.com/Siddharth263/advice-react-app.git)
  2. Navigate to the project directory: (cd react-advice-app)
  3. Install the dependencies: (npm install)
  4. Start the development server: (npm start)
  5. Open your web browser and visit (http://localhost:3000) to view the app.

Usage

  • Once the app is running, you will see a random piece of advice displayed on the screen.
  • To fetch new advice, click the "GIVE ME ADVICE!" button.

Screenshots

Advice Image

Contributing

If you'd like to contribute to this project, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/my-new-feature).
  3. Make your changes and commit them (git commit -am 'Add some feature').
  4. Push your changes to the branch (git push origin feature/my-new-feature).
  5. Create a new Pull Request.

Acknowledgements

advice-react-app's People

Contributors

siddharth263 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.