Code Monkey home page Code Monkey logo

s-shemmee / react-weather-app Goto Github PK

View Code? Open in Web Editor NEW
21.0 1.0 6.0 2.91 MB

This web app, developed as a final project for SheCodes Plus, is built with React.js. It enables users to search for weather conditions worldwide and delivers current weather information. The app retrieves weather data using the SheCodes Weather API.

Home Page: https://react-weather-app-shemmee.netlify.app

License: GNU General Public License v3.0

HTML 6.25% JavaScript 53.17% CSS 40.58%
react-weather-app react18 shecodes shecodes-react react-project

react-weather-app's Introduction

React Weather App

This is a web app developed as a final project for SheCodes React using React.js. It allows users to search for the weather conditions of any city in the world and provides current weather information. The app fetches weather data using the SheCodes Weather API.

Opera Snapshot_2024-02-08_163132_react-weather-app-shemmee netlify app

Features

  • Users can search for weather conditions of any city in the world.
  • The app displays the current weather conditions, including temperature and weather description.
  • The app utilizes the SheCodes Weather API to fetch weather data.

Technologies & Tools Used

  • React.js
  • HTML
  • CSS
  • JavaScript
  • VS Code
  • SheCodes Weather API

Installation and Usage

To use this app, you can follow these steps:

  • Clone the repository or download the source code.
  • Open the project in your preferred code editor.
  • Run npm install to install the necessary dependencies.
  • Run npm start to start the development server.
  • Open your browser and navigate to http://localhost:3000 to use the app.

To use the app, simply type the name of the city you want to search for in the search bar and press Enter. The app will display the current weather conditions for the searched city.

Demo

A live demo of the React Weather App is available at LINK TO LIVE DEMO.

Credits

  • The weather app was created by s-shemmee as a final project for the SheCodes React workshop.
  • The app uses the SheCodes Weather API to retrieve weather data.

License

This project is licensed under the MIT license.

react-weather-app's People

Contributors

s-shemmee avatar

Stargazers

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

Watchers

 avatar

react-weather-app's Issues

Search bar not triggering search on button click

The current implementation of the search bar component does not trigger the search function when the search button is clicked. The search function is only triggered when the Enter key is pressed. This behavior is inconsistent with the desired functionality, where the search should be performed regardless of whether the Enter key is pressed or the search button is clicked.

This issue requires updating the code to ensure that the search function is called correctly when the search button is clicked, in addition to triggering it on pressing Enter.

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.