diff --git a/FavouriteQuotes.json b/FavouriteQuotes.json index 569d8b6..dcd2843 100644 --- a/FavouriteQuotes.json +++ b/FavouriteQuotes.json @@ -66,5 +66,9 @@ { "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" + }, + { + "quote": "Life should be touched, not strangled. You've got to relax, let it happen at times, and at others move forward with it.", + "author": "Ray Bradbury" } ] \ No newline at end of file diff --git a/app.js b/app.js index 38b5920..5ffaac8 100644 --- a/app.js +++ b/app.js @@ -16,7 +16,7 @@ fetch("FavouriteQuotes.json") }) .then((data) => { currQuote = getQuote(data); - for (let i = 0; i < 25; i++) { + for (let i = 0; i < 50; i++) { quoteDisplay.innerText = currQuote; intervalID = setInterval(() => { currQuote = getQuote(data);