Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Quote Generator

A small web app that shows a random inspirational quote and lets you copy it or share it on X.

Live demo: https://randomquote-app.vercel.app/

Features

  • Fetches a random quote on load and on every click of Next
  • Keyboard shortcut: press Space or N for the next quote
  • Copy the current quote and its author to the clipboard
  • One-click sharing of the current quote to X
  • Remembers the last quote you saw and shows it again on your next visit
  • Loading screen while the first quote is fetched (a text message replaces the animation when reduced motion is preferred)
  • Friendly message if the quote service can't be reached

Tools used :

Run locally

No build step or dependencies are needed. Clone the repo and open index.html in a browser, or serve the folder with any static server, for example:

npx serve .
# or
python3 -m http.server 8000

YouTube Video Link

https://www.youtube.com/watch?v=aXiWcnWYzds&t=2s

Don't forget to subscribe

About

Random quote generator with copy and share to X, using the DummyJSON Quotes API

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages