Skip to content

Commit 9cf7575

Browse files
I edited the showRandomQuote function .
1 parent 616fedc commit 9cf7575

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Sprint-3/quote-generator/quotes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,8 @@ const quotes = [
497497
function showRandomQuote() {
498498
const randomQuote = pickFromArray(quotes);
499499
quoteEl.textContent = randomQuote.quote;
500-
author.textContent = randomQuote.author;
500+
authorEl.textContent = randomQuote.author;
501501
}
502-
503502
function setup() {
504503
showRandomQuote();
505504

0 commit comments

Comments
 (0)