Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FredH2O committed Sep 26, 2024
1 parent 96dc0d4 commit c2a8391
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 42 deletions.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
</head>
<body>
<div class="container">
<button id="darkMode"><i class="bi bi-moon"></i></button>
<header id="header">
<h1>Weather Check</h1>
</header>
Expand Down
5 changes: 0 additions & 5 deletions public/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ document.addEventListener("DOMContentLoaded", function () {
let afterTomorrowSnowChance;
let timeCheck;

darkModeBtn.addEventListener("click", () => {
container.style.backgroundColor = "black";
container.style.color = "white";
});

async function fetchWeatherData(city) {
if (!city) {
alert("Enter a city or country.");
Expand Down
36 changes: 0 additions & 36 deletions server.js

This file was deleted.

0 comments on commit c2a8391

Please sign in to comment.