Giter Site home page Giter Site logo

codtech-task2's Introduction

CODTECH-Task2

  • Project Name: Weather app
  • Name: Nihal Kiran Shetty
  • ID: CT08DS1986
  • Company: CODTECH IT SOLUTIONS
  • Domain: Web Development
  • Duration: June - July 2024
  • Mentor: SRAVANI GOUNI

This code is for a single-page weather application named UrWeather. Here's an overview of the project, including its objective:

127 0 0 1_5500_Task-2_index html(Nest Hub Max)

127 0 0 1_5500_Task-2_index html(Nest Hub Max) (1)

Objective:

  • The objective of this project is to create a user-friendly web application that allows users to easily access weather information for any city.

Functionality:

  • Users enter a city name in a search bar.
  • Clicking the "Search" button triggers a weather lookup for the entered city.
  • The application fetches weather data from the OpenWeatherMap API, including current temperature, weather description, and an icon.
  • It displays the retrieved information on the screen:
    • City name
    • Current temperature in Celsius (°C)
    • Weather description (e.g., cloudy, sunny)
    • Weather icon
  • Additionally, the application fetches hourly forecasts for the next 24 hours (displayed in 3-hour intervals) and displays them in a scrollable section:
    • Time
    • Weather icon
    • Temperature in Celsius (°C)

Technologies Used:

  • HTML: Defines the structure of the webpage, including the search bar, buttons, and weather information sections.
  • CSS: Styles the visual elements of the application, including layout, background image, fonts, colours, and formatting.
  • JavaScript: Provides interactivity, handling user input (search), fetching weather data from the API, and displaying the weather information and forecast.
  • Bootstrap (optional): A CSS framework used for layout and pre-built components (like buttons).

External APIs:

  • OpenWeatherMap API: Provides weather data for the specified location.

Overall, this UrWeather application is a user-friendly weather information tool that leverages an external API to display current weather and hourly forecasts for a given city, fulfilling the objective of providing easy access to weather information.

codtech-task2's People

Contributors

nihalkshetty2002 avatar

Watchers

 avatar

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.