Giter Club home page Giter Club logo

weather-app's Introduction

Dhruvabhat24

Weather App

This is a simple weather app built with React. It allows users to search for a location and get the current weather conditions.

Features

  • Search for a location by city name
  • View the current temperature, weather conditions, and wind speed

Installation

To install and run the app locally, follow these steps:

  1. Clone this repository to your local machine
  2. Navigate to the project directory in your terminal
  3. Run npm install to install the dependencies
  4. Run npm start to start the development server
  5. Open your web browser and navigate to http://localhost:3000

Usage

To use the app, follow these steps:

  1. Enter a city name in the search bar and click the search button
  2. View the current weather conditions for the selected location

Credits

This app was built using the following technologies:

  • React
  • OpenWeatherMap API

License

This project is licensed under the MIT License. See the LICENSE file for details.

weather-app's People

Contributors

adarsh-singh-bhadauria avatar ceejay-777 avatar dependabot[bot] avatar devdaniloferrari avatar dhruvabhat24 avatar fsadatl avatar gouttebroze avatar hp200421 avatar saksham-jain177 avatar thomaslagace avatar y-kitazawa0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

weather-app's Issues

New features required

  • Todays highlights which includes
  1. Sunraise & Sunset
  2. Air Quality Index
  3. Humidity
  4. Pressure
  5. Visibility
  6. Feels Like

A reference picture is attached below
Screenshot 2024-01-04 204725

Current location fetching

As soon as the webpage open it need to fetch the current location and it need to provide the weather of that area

Rather than using DOM to access elements, separate components should be created.

Since we are using React.js as our front-end framework hence we should create different components for different UI elements rather than using DOM to access/manipulate them as it makes things confusing as it depicts that those elements are in the static index.html file but in reality they are just being returned inside the main WeatherApp function inside "WeatherApp.jsx".
I am attaching relevant screenshots here. Please look into it.

Responsive feature

Make the website responsive which will fit to different devices
It need to be seen good even in mobile devices

Search on enter

When typing in the search bar, the user should be able to click the enter button on the keyboard to search in addition with the search button.

Make Weather App Responsive

Description

The current weather app could use some improvements in terms of responsiveness. As users are accessing the app on a variety of devices, ensuring a smooth experience on different screen sizes is crucial. Let's work together to make the app more responsive.

Expected Behavior

I expect the weather app to adapt seamlessly to various devices and screen sizes. Whether users are on desktops, tablets, or mobiles, the app should provide a user-friendly experience without any layout or functionality issues.

Suggested Changes

  1. Implement responsive design principles for a more adaptive layout.
  2. Use media queries to adjust the app's styling based on the device characteristics.

Let's make the weather app a delightful experience for users on all devices!

Humidity Icon

Feture update

Add Pressure Icon

Make necessary changes to display the current pressure

Time & Date

Tasks need to be done

  • Add time in both format
  • Add date
  • Display Day

Fetch Report is kinda useless

The "Fetch Report" button simply updates the forecast data without displaying anything to the user, whereas the "Download Report" button updates the forecast and allows for downloading. I suggest two potential solutions:

Add feedback to the "Fetch Report" action, such as displaying a message saying "Data fetched correctly, you can now download." Additionally, before enabling the "Download Report" button, verify if the data has been successfully fetched.

Alternatively, consider removing the "Fetch Report" button entirely if its function is redundant due to the "Download Report" action already updating the forecast.

These options would enhance the user experience by providing clarity and ensuring that users are aware when the data has been updated and is ready for download.

Search suggestion

While typing the location / place name it need to suggest the place name

Weather Report

Task need to be done

  • Get The report
  • Upon clicking it need to fetch last 6 days weatherand create a downloadable pdf file
  • Upon clicking the button it need to download the report

Icons Alignment

Icons are not aligned in a sequence way in both web browser and mobile browser.

The name of the place is not changed

After opening the website it asks for permission for the current location after that if I try to check the details of the other place it shows the same place as my current location,it is not changing. if I try to download the report then it is coming correctly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.