From 638d72b285835390d0d0541b8395c927eea211d2 Mon Sep 17 00:00:00 2001 From: Pavithra13012002 Date: Fri, 25 Jul 2025 02:58:38 +0530 Subject: [PATCH] Update script.js --- scripts/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/script.js b/scripts/script.js index 4705c1c..2676667 100644 --- a/scripts/script.js +++ b/scripts/script.js @@ -63,7 +63,7 @@ cityInput.addEventListener("keyup", function (event) { var cityInputValue = cityInput.value; - var apiKey = "b1fd6e14799699504191b6bdbcadfc35"; // Default + var apiKey = "04f16ca8c4c323efff2335334bb3fadd"; // Default var unit = "metric"; var apiUrl = `https://api.openweathermap.org/data/2.5/weather?q=${cityInputValue}&appid=${apiKey}&units=${unit}`; @@ -164,4 +164,4 @@ cityInput.addEventListener("keyup", function (event) { } else document.getElementById("locationName").innerHTML = "Enter a city name..."; } -}); \ No newline at end of file +});