Giter Club home page Giter Club logo

deepankarvarma / random-quotes-generator-chrome-extension Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 892 KB

This is a Chrome extension that generates random quotes using the quotable API. The extension fetches a random quote and displays it in a popup, along with a countdown to the next quote. Users can customize the behavior of the extension by modifying the code in the popup.js file.

HTML 41.88% JavaScript 58.12%
api chrome-extension countdown javascript popup quotable-api random-quote-generator css dom html

random-quotes-generator-chrome-extension's Introduction

Random Quote Generator Chrome Extension

This repository contains the source code for a Chrome extension that generates a random quote using the quotable API.

Getting Started

To get started with the extension, simply download or clone the repository to your local machine.

Prerequisites

To run the extension, you will need to have the Google Chrome browser installed on your machine.

Installing

  1. Open Google Chrome and go to the chrome://extensions/ page.
  2. Enable Developer Mode by clicking the toggle switch in the top right corner.
  3. Click the "Load unpacked" button and select the directory where you downloaded or cloned the repository.

Usage

Once the extension is installed, click on the icon in your Chrome toolbar to generate a random quote. The quote will be displayed in a popup along with a countdown to the next quote.

To customize the behavior of the extension, you can modify the code in the popup.js file. The showNextQuote function fetches a random quote from the quotable API and displays it in the popup. The startCountdown function initiates a countdown to the next quote and calls showNextQuote once the countdown is complete.

Contributing

If you would like to contribute to the extension, feel free to fork the repository and submit a pull request. We welcome any suggestions or improvements!

Demo

random-quotes-generator-chrome-extension's People

Contributors

deepankarvarma avatar

Watchers

 avatar  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.