Skip to content

Commit f83449a

Browse files
author
Pretty Taruvinga
committed
Remove displayQuote call from protected section
1 parent 3b5f232 commit f83449a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Sprint-3/quote-generator/quotes.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ function displayQuote() {
99
}
1010

1111
button.addEventListener("click", displayQuote);
12+
displayQuote();
1213

1314
// DO NOT EDIT BELOW HERE
1415

@@ -501,6 +502,3 @@ const quotes = [
501502
author: "Zig Ziglar",
502503
},
503504
];
504-
505-
// call pickFromArray with the quotes array to check you get a random quote
506-
displayQuote();

0 commit comments

Comments
 (0)