/Quote-Generator

Generate new random quotes and post it on twitter using this website.

Primary LanguageCSS

Quote-Generator

This is a simple web app based on HTML, CSS and Javascript.

  • Fething the data in JSON format from the API https://type.fit/api/quotes and saving it in a variable.
  • Dynamically inserting a random quote into the DOM on initial loading.
  • User is able to load a new quote on a button 'New Quote" click.
  • User is able to tweet the quote if he liked it on a 'Twitter' button click.

About:

The webpage generates random quotes by famous personalities which can be obviously used for our personal motivation or as a tweet to inspire your community.

I had a lot of fun building this project and as usual I learned a lot from building this. Added some customisation to this project so.......

Installation

  1. Open your terminal and change the current working directory to the location where you want the cloned directory to be made.
$ cd path/to/your/folder/quote-generator/
  1. Clone repository by typing the following in your terminal:
$ git clone git@github.com:WPBC/quote-generator.git
  1. Open the index file to view the quote generator. All done.

License

This package is released under the MIT license.

Feel free to fork and give a star for this project.

Live Project

Check out the results here