We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d49b11 commit 69eab09Copy full SHA for 69eab09
1 file changed
Sprint-3/quote-generator/quotes.js
@@ -5,9 +5,9 @@ function randomQuote() {
5
}
6
function setup() {
7
document.getElementById("new-quote").addEventListener("click", randomQuote);
8
+ randomQuote();
9
-setup();
10
-window.addEventListener("load", randomQuote);
+window.addEventListener("load", setup);
11
// DO NOT EDIT BELOW HERE
12
13
// pickFromArray is a function which will return one item, at
0 commit comments