-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update #77
base: main
Are you sure you want to change the base?
update #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job San! I left some comments and shared some resources you can look into. Let me know if you have any questions after reviewing!
|
||
<h3>Select City Name</h3> | ||
<select id=".timeDiv"> | ||
<input type="text" id="city-input" value="City Name Here"/> | ||
<h3>Reset City:</h3> | ||
<button id="city-reset">Reset Me</button> | ||
</select> | ||
|
||
</section> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are missing the opening section tag for line 52 it should be on line 44.
|
||
<section class="divTwo"> | ||
<h3>Thermostat</h3> | ||
<div class=".adhDiv"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const incTemp = document.querySelector("#increase-temp"); | ||
const decTemp = document.querySelector("#decrease-temp"); | ||
const tempDisplay = document.querySelector("#temp-display"); | ||
const landscape = document.querySelector("#landscape"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
putting your query selectors here I think is helpful!
|
||
let temp = 70; | ||
|
||
const tempColors = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
} | ||
}; | ||
|
||
const tempLand = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
|
||
}; | ||
|
||
const registerEventHandlers = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
|
||
const resetButton = document.querySelector("#city-reset") | ||
resetButton.addEventListener("click", reset); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are missing your functions to make the API calls to get the accurate weather. Think about where on your app you would want to add a button to get the current cities actual weather
padding-top: 30px; | ||
padding-bottom: 30px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can write padding on one line like padding: 30px 0px 30px 0px
the order is padding: top left bottom right
No description provided.