Added two more quotes and lengthened the time between iterations

This commit is contained in:
Camille Frantz 2022-06-01 12:40:15 -05:00
parent d631ae2d57
commit 6dbb8ebad0
2 changed files with 9 additions and 1 deletions

View File

@ -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.'", "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" "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"
} }
] ]

2
app.js
View File

@ -21,7 +21,7 @@ fetch("FavouriteQuotes.json")
intervalID = setInterval(() => { intervalID = setInterval(() => {
currQuote = getQuote(data); currQuote = getQuote(data);
quoteDisplay.innerText = currQuote; quoteDisplay.innerText = currQuote;
}, 8000); }, 12000);
} }
}); });