diff --git a/Sprint-3/quote-generator/index.html b/Sprint-3/quote-generator/index.html
index 30b434bcf..b5f285d12 100644
--- a/Sprint-3/quote-generator/index.html
+++ b/Sprint-3/quote-generator/index.html
@@ -3,11 +3,11 @@
- Title here
+ Quote Generator App
- hello there
+ Quote Generator
diff --git a/Sprint-3/quote-generator/quotes.js b/Sprint-3/quote-generator/quotes.js
index 4a4d04b72..e83fb4a6f 100644
--- a/Sprint-3/quote-generator/quotes.js
+++ b/Sprint-3/quote-generator/quotes.js
@@ -491,3 +491,12 @@ const quotes = [
];
// call pickFromArray with the quotes array to check you get a random quote
+ function getRandomQuote() {
+ const randomQuote = pickFromArray(quotes);
+
+ document.getElementById("quote").textContent = randomQuote.quote;
+ document.getElementById("author").textContent = randomQuote.author;
+ }
+ getRandomQuote();
+
+ document.getElementById("new-quote").addEventListener("click", getRandomQuote);
\ No newline at end of file