Semester Project Report
Semester Project Report
Application
Project Overview
Project Title: Weather Application
Team Members
• Abdul Ahad (01-134232-003)
Project Description
The Weather Application is a web-based application that allows users to check the current weather
and hourly forecast for a specific city. The application utilizes the OpenWeatherMap API to fetch real-
time weather data and displays it in a user-friendly interface. Users can input a city name, and the
application provides temperature information, weather description, and an hourly forecast for the
next 24 hours.
Technologies Used:
• Frontend:
• HTML5
• JavaScript
• External APIs:
• OpenWeatherMap API
Project Features
1. User Interface:
• Simple and intuitive design.
• Responsive layout for various screen sizes.
2. Weather Display:
• Current weather information including temperature and weather description.
• Hourly forecast for the next 24 hours.
3. Styling:
• Stylish and visually appealing design.
• Effective use of CSS to enhance user experience.
4. API Integration:
• Integration with OpenWeatherMap API to fetch weather data.
Code Structure
• HTML:
• Main structure of the web page.
• Input field for city name, search button, and containers for displaying weather
information.
• CSS:
• Styling for the entire page, weather container, input field, button, temperature
display, weather information, weather icon, and hourly forecast.
• JavaScript:
• Functions for fetching weather data from the API.
• Functions for displaying current weather and hourly forecast.
• Event handling for user interactions.
Challenges Faced
1. API Key Security:
• Ensuring the secure handling of the OpenWeatherMap API key to prevent exposure.
2. Responsive Design:
• Achieving a responsive design that works well on various devices and screen sizes.
3. CSS Styling:
• Overcoming challenges related to styling intricacies, including achieving the frosted
glass effect.
Future Improvements
1. Enhanced User Interaction:
• Implementing user preferences and additional interactive features.
2. Extended Forecast:
• Expanding the application to display a more extended weather forecast.
3. User Authentication:
• Incorporating user authentication to personalize the experience.
Conclusion
The Weather Application project provided valuable experience in frontend development, API
integration, and project collaboration. The team successfully created a functional and
visually appealing weather application that serves as an excellent starting point for future
enhancements.
Acknowledgments
We would like to express our gratitude to our instructor for guidance and support
throughout the semester. Additionally, we appreciate the documentation and resources
provided by OpenWeatherMap for the seamless integration of their API.