Skip to content

Commit f7887b8

Browse files
authored
Remove unnecessary quotes in displayQuote function
1 parent 6d4e004 commit f7887b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Sprint-3/quote-generator/quotes.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ const newQuoteButton = document.getElementById("new-quote");
501501
function displayQuote() {
502502
const randomQuote = pickFromArray(quotes);
503503

504-
quoteElement.textContent = `"${randomQuote.quote}"`;
505-
authorElement.textContent = `- ${randomQuote.author}`;
504+
quoteElement.textContent = randomQuote.quote;
505+
authorElement.textContent = randomQuote.author;
506506
}
507507

508508

0 commit comments

Comments
 (0)