yogeshtakeo / BFD36_files

0 stars 0 forks source link

Task 13: Weather Changing App #14

Open yogeshtakeo opened 11 months ago

yogeshtakeo commented 11 months ago

Full Stack Development Bootcamp - Weather Changing App

Task Description

In this task, you will build a weather UI application using React and the useState hook. The goal is to practice React component creation, state management, and dynamic UI rendering based on weather conditions. This task does not involve asynchronous data fetching.

Prerequisites

Before you begin, ensure you have the following installed on your system:

Task Steps

Step 1: Set Up a React Project

  1. Create a new React project directory for your weather app. You can use create-react-app or any similar tool.

  2. Navigate to your project directory:

    cd my-weather-app

Step 2: Create the Application Components

  1. Create a new functional React component named WeatherApp in a suitable directory (e.g., src/components).

  2. Inside WeatherApp, set up the initial state to store weather data (e.g., temperature, description, city name) and the current weather condition (e.g., sunny, rainy, cloudy). You can use the useState hook for this.

  3. Render placeholders for the weather information (e.g., temperature, description) along with the city name.

Step 3: Define UI Elements for Weather Conditions

  1. Create separate UI elements (e.g., images, icons, background colors) for different weather conditions. For example, you can have different images/icons for sunny, rainy, and cloudy weather.

  2. Based on the current weather condition in your state, dynamically render the corresponding UI element in your WeatherApp component. For instance, if it's sunny, display a sun icon and a bright background; if it's rainy, display a raindrop icon and a rainy background.

Step 4: Style Your Application

  1. Use CSS to style your WeatherApp component, including the UI elements for different weather conditions. Apply styles to make the application visually appealing and user-friendly.

  2. Ensure that the styling complements the UI elements representing different weather conditions.

Step 5: Test Your Application

  1. Start the development server by running:

    npm start
  2. Open your web browser and navigate to http://localhost:3000 to see your Weather UI app in action.

  3. Verify that the UI elements change based on the weather condition and that the styling enhances the user experience.

Step 6: Documentation

  1. Document the steps you took to build the Weather UI app, including any external libraries used, any additional features implemented, and how you handled different weather conditions.
Youngbikalp commented 11 months ago

Name: Bikalp Timalsina Task 13: Weather Changing App Git URL: https://github.com/Youngbikalp/task13_weatherApp_Manoj/tree/master image image image image image

Madhv98 commented 11 months ago

Name: Madhav Dhital Task:13 Weather app GitHub: https://github.com/Madhv98/react-weather.git

Screenshot 2023-09-21 at 12 37 52 AM Screenshot 2023-09-21 at 12 32 49 AM Screenshot 2023-09-21 at 12 32 32 AM Screenshot 2023-09-21 at 12 31 57 AM
Narayanadhikari9 commented 11 months ago

Name: Narayan Adhikari Task 13: Weather Changing App URL: https://github.com/Narayanadhikari9/task13_weatherApp-Monoj/tree/master Task13(2) Task13(3) Task13(4) Task13(1)

sansubed commented 11 months ago

Name: Santona Subedi Team: 4 github repo: https://github.com/sansubed/ReactViteAppTask13.git Screenshot 2023-09-21 at 12 33 50 AM Screenshot 2023-09-21 at 12 34 10 AM Screenshot 2023-09-21 at 12 34 20 AM Screenshot 2023-09-21 at 12 34 35 AM Screenshot 2023-09-21 at 12 34 45 AM Screenshot 2023-09-21 at 12 34 54 AM

mbasnet123456 commented 11 months ago

Name: Manoj Basnet Task:13 Weather app GitHub: https://github.com/mbasnet123456/task13_weatherApp.git

image
shantibasnet commented 11 months ago

Name: Shanti Basnet Task 13: Weather App URL: https://github.com/Cheesesth1/weatherApp/tree/shantib

image image image image image
raj-maharjan99 commented 11 months ago

Task 13 weather app image image

Cheesesth1 commented 11 months ago

Chij Team1 Shanti Task 13 Weather changing App

https://github.com/Cheesesth1/weatherApp.git image image image

aniltimalsina commented 10 months ago

Name: Anil Timalsina Task 13: Weather Changing App Github Link : https://github.com/aniltimalsina/weather-changing-app.git

Screenshot 2023-11-13 at 5 05 21 PM Screenshot 2023-11-13 at 5 05 27 PM Screenshot 2023-11-13 at 5 05 41 PM Screenshot 2023-11-13 at 5 06 24 PM Screenshot 2023-11-13 at 5 07 02 PM