diff --git a/README.md b/README.md index f8b15f4cb..d0131e3e9 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,20 @@ # Weather App -Replace this readme with your own information about your project. - -Start by briefly describing the assignment in a sentence or two. Keep it short and to the point. +This project is a weather application that fetches and displays real-time weather data from the OpenWeatherMap API. Users can search for the current weather in a specific city or allow the app to use their location via the Geolocation API. The app shows key information such as temperature, weather description, sunrise and sunset times, and a 5-day weather forecast. ## The problem -Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next? +The task was to create a responsive weather app that retrieves data from an external API and presents it in a user-friendly format. The goal was also to implement a feature that fetches the user's current location and displays the weather based on that. + +- Technologies: I used the following tools and technologies to build the app: + +HTML and CSS for structuring and styling the interface. +JavaScript for fetching data using the fetch() API and manipulating the DOM to display the weather information. +OpenWeatherMap API to retrieve the weather data for the specified city or current location. +Responsive Design techniques to ensure the app works across various screen sizes. + +- Challenges: The main challenge was ensuring the weather data (including background images) loaded efficiently, and formatting the dates (e.g., sunrise and sunset) into a user-friendly format. ## View it live -Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about. +https://weather-free-api.netlify.app/ diff --git a/assets/design-2/noun_Cloud_1188486.svg b/assets/design-2/noun_Cloud_1188486.svg deleted file mode 100644 index c2375e901..000000000 --- a/assets/design-2/noun_Cloud_1188486.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/assets/design-2/noun_Sunglasses_2055147.svg b/assets/design-2/noun_Sunglasses_2055147.svg deleted file mode 100644 index a1fcd7e8b..000000000 --- a/assets/design-2/noun_Sunglasses_2055147.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/design-2/noun_Umbrella_2030530.svg b/assets/design-2/noun_Umbrella_2030530.svg deleted file mode 100644 index 8a414b15f..000000000 --- a/assets/design-2/noun_Umbrella_2030530.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/images/cloudy.png b/images/cloudy.png new file mode 100644 index 000000000..a5ac4a45d Binary files /dev/null and b/images/cloudy.png differ diff --git a/images/default.png b/images/default.png new file mode 100644 index 000000000..fc76fee96 Binary files /dev/null and b/images/default.png differ diff --git a/images/dust.png b/images/dust.png new file mode 100644 index 000000000..ca93c3849 Binary files /dev/null and b/images/dust.png differ diff --git a/images/mist.png b/images/mist.png new file mode 100644 index 000000000..36d5373fb Binary files /dev/null and b/images/mist.png differ diff --git a/images/rain.png b/images/rain.png new file mode 100644 index 000000000..cf926fb8b Binary files /dev/null and b/images/rain.png differ diff --git a/images/snowy.png b/images/snowy.png new file mode 100644 index 000000000..459f5ccef Binary files /dev/null and b/images/snowy.png differ diff --git a/images/sunny.png b/images/sunny.png new file mode 100644 index 000000000..505c01fcc Binary files /dev/null and b/images/sunny.png differ diff --git a/images/thunderstorm.png b/images/thunderstorm.png new file mode 100644 index 000000000..3bc9c5106 Binary files /dev/null and b/images/thunderstorm.png differ diff --git a/index.html b/index.html new file mode 100644 index 000000000..d2edab7ee --- /dev/null +++ b/index.html @@ -0,0 +1,86 @@ + + + + + + Weather App + + + + + + + + + + + + + +
+
+

Fetching weather data...

+
+ + + +