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 4c08293 commit a854ec3Copy full SHA for a854ec3
Sprint-3/quote-generator/index.html
@@ -3,7 +3,7 @@
3
<head>
4
<meta charset="UTF-8" />
5
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Quote generator app</title>
+ <title>Title here</title>
7
<link rel="stylesheet" href="style.css">
8
<script defer src="quotes.js"></script>
9
</head>
Sprint-3/quote-generator/quotes.js
@@ -489,7 +489,8 @@ const quotes = [
489
author: "Zig Ziglar",
490
},
491
];
492
-
+const title = document.querySelector("title")
493
+title.textContent = "Quote generator app";
494
// call pickFromArray with the quotes array to check you get a random quote
495
const quoteEl = document.querySelector("#quote");
496
const authorEl = document.querySelector("#author");
0 commit comments