Skip to content

Commit be2b301

Browse files
committed
fixing lower camel case
1 parent b97b885 commit be2b301

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="displayArea">
1212
<p id="quote">hello there</p>
1313
<p id="author">Quote by</p>
14-
<button type="button" id="new-quote">New quote</button>
14+
<button type="button" id="newQuote">New quote</button>
1515
</div>
1616
</body>
1717
</html>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ const quotes = [
471471
];
472472

473473
const areaOfQuote = document.querySelector("#quote");
474-
const shufflebutton = document.querySelector("#new-quote");
474+
const shuffleButton = document.querySelector("#newQuote");
475475
const AreaOfQuoteBy = document.querySelector("#author");
476476

477477
function quoteGenerator() {
@@ -484,4 +484,4 @@ function quoteGenerator() {
484484

485485
quoteGenerator();
486486

487-
shufflebutton.addEventListener("click", quoteGenerator);
487+
shuffleButton.addEventListener("click", quoteGenerator);

‎Sprint-3/quote-generator/style.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
body {
1313
background-color: rgb(223, 208, 182);
1414
}
15-
#new-quote {
15+
#newQuote {
1616
border-style: outset;
1717
font-size: larger;
1818
color: whitesmoke;
@@ -21,7 +21,7 @@ body {
2121
background-color: rgb(226, 203, 163);
2222
block-size: 50px;
2323
}
24-
#new-quote:hover {
24+
#newQuote:hover {
2525
color: black;
2626
border-right-width: 10px;
2727
border-bottom-width: 10px;

0 commit comments

Comments
 (0)