From 6dbb8ebad03531d55f06f01a633eace9cbe35d0b Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Wed, 1 Jun 2022 12:40:15 -0500 Subject: [PATCH] Added two more quotes and lengthened the time between iterations --- FavouriteQuotes.json | 8 ++++++++ app.js | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/FavouriteQuotes.json b/FavouriteQuotes.json index a6bc83a..569d8b6 100644 --- a/FavouriteQuotes.json +++ b/FavouriteQuotes.json @@ -58,5 +58,13 @@ { "quote": "Nothing is original. Steal from anywhere that resonates with inspiration or fuels your imagination. Devour old films, new films, books, paintings, photographs, poems, dreams, random conversations, architecture, bridges, street signs, trees..., clouds, bodies of water, light and shadows. Select only things to steal from that speak directly to your soul. If you do this, your work (and theft) will be authentic. Authenticity is invaluable; originality is non-existent. And don't bother concealing your thievery - celebrate it if you feel like it. In any case, always remember what Jean-Luc Godard said: 'it's not where you take things from - its where you take them to.'", "author": "Jim Jarmusch" + }, + { + "quote": "Almost everything will work again if you unplug it for a few minutes, including you.", + "author": "Anne Lamott" + }, + { + "quote": "If you compare yourself with others, you may become vain or bitter, for always there will be greater and lesser persons than yourself.", + "author": "Max Ehrmann" } ] \ No newline at end of file diff --git a/app.js b/app.js index a1f8dee..38b5920 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ fetch("FavouriteQuotes.json") intervalID = setInterval(() => { currQuote = getQuote(data); quoteDisplay.innerText = currQuote; - }, 8000); + }, 12000); } });