Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
s27288-pj committed Jan 10, 2024
1 parent ddb799f commit 72fb70d
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 2 deletions.
Binary file removed images/002-clear-sky-day.png
Binary file not shown.
Binary file removed images/003-clear-sky-night.png
Binary file not shown.
Binary file removed images/004-few-clouds-day.png
Binary file not shown.
Binary file removed images/005-few-clouds-night.png
Binary file not shown.
Binary file removed images/006-scattered-clouds.png
Binary file not shown.
Binary file removed images/007-broken-clouds.png
Binary file not shown.
Binary file removed images/008-shower-rain.png
Binary file not shown.
Binary file removed images/009-rain-day.png
Binary file not shown.
Binary file removed images/010-rain-night.png
Binary file not shown.
Binary file removed images/011-thunderstorm.png
Binary file not shown.
Binary file removed images/012-snow.png
Binary file not shown.
Binary file removed images/013-mist.png
Binary file not shown.
2 changes: 2 additions & 0 deletions scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,8 @@ mapWind.addEventListener('click', () => {
inputField.addEventListener('keypress', function(event) {
if (event.key === 'Enter') {
searchWeatherOnClick();
const searchButton = document.getElementById('search-button');
searchButton.addEventListener('click', searchWeatherOnClick);
}
});

Expand Down
6 changes: 4 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1636,8 +1636,9 @@
}
.light-mode #map-container {
width: calc(100% - 20px);
margin-top: 5px;
margin-top: 20px;
margin-bottom: 10px;
margin-left: 10px;
border-radius: 8px;
display: grid;
grid-template-columns: 30% 40% auto ;
Expand All @@ -1648,8 +1649,9 @@
}
.dark-mode #map-container {
width: calc(100% - 20px);
margin-top: 5px;
margin-top: 20px;
margin-bottom: 10px;
margin-left: 10px;
border-radius: 8px;
display: grid;
grid-template-columns: 30% 40% auto ;
Expand Down

0 comments on commit 72fb70d

Please sign in to comment.