Skip to content

Commit 1ce772d

Browse files
reverted some changes in quotes.js and index.html to fix the issue of quotes not being displayed on page load
1 parent 0e93ef0 commit 1ce772d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎Sprint-3/quote-generator/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ <h1>Quote of the Day</h1>
1616
<p id="author">- Author Name</p>
1717
</div>
1818
<button type="button" id="new-quote" onclick="generateQuote()">New quote</button>
19+
<script defer src="quotes.js"></script>
1920
</body>
2021

2122
</html>

‎Sprint-3/quote-generator/package.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
"bugs": {
1414
"url": "https://github.com/CodeYourFuture/CYF-Coursework-Template/issues"
1515
},
16-
"homepage": "https://github.com/CodeYourFuture/CYF-Coursework-Template#readme"
16+
"homepage": "https://github.com/CodeYourFuture/CYF-Coursework-Template#readme",
17+
"devDependencies": {
18+
"@testing-library/jest-dom": "^6.9.1"
19+
}
1720
}

0 commit comments

Comments
 (0)