Skip to content

Instantly share code, notes, and snippets.


Omar Quazi blacksector

View GitHub Profile
blacksector / random-quote.js
Last active Apr 20, 2022
Pulls quotes from an API and displays it on a simple background
View random-quote.js
const QUOTES_API = '';
const BG_COLOR = "#000000";
const BG_IMAGE = true;
let randomQuote = await loadQuote()
let img = null;
// no-background.js is needed from here if BG_IMAGE is set to true