Mini Project Report
Mini Project Report
ON
CHAPTER- 6 Conclusions 20
CHAPTER- 7 Bibliography 20
WEATHER
WEB
APPLICATION
WEATHER WEB APPLICATION 2024
CHAPTER- 1 ABSTRACT
Key Features:
5
WEATHER WEB APPLICATION 2024
INTRODUCTION
1. Real-Time Data
One of the biggest advantages of weather monitoring systems and also the
reason why people have been going in for weather stations is because of the
ability to get their information in real-time.
2. Accurate Local Forecast
In reality, the meteorological department may be located far from your home
and weather forecasts are made for regions, not a specific area. That’s a reason
why in these instances, the weather predictions that they give are not always
the most accurate.
6
WEATHER WEB APPLICATION 2024
2.1Functional Requirements
7
WEATHER WEB APPLICATION 2024
Tools HTML,CSS,JS
API OpenWeatherMap
Processor I3 above
(c) The best thing in the input design is to achieve all the objectives mentioned
in the simplest manner possible.
(a) Identifying the specific outputs. The primary goal of the system analysis is
to improve the efficiency of the existing system. For that the study of
8
WEATHER WEB APPLICATION 2024
9
WEATHER WEB APPLICATION 2024
HTML:
<!DOCTYPE html>
<html lang="en">
<body>
<link </div>
href="[Link]
nito+Sans:opsz,wght@6..12,400;6..12,600&display <div class="searchBar">
=swap"
<span class="searchIcon"><i class="ri-search-line
rel="stylesheet"> searchIcon"></i></span>
</form>
<link rel="stylesheet"
href="[Link] </div>
[Link]">
<div class="setting">
<link rel="stylesheet"
<p class="degree" id="celsus">°C</p>
href="[Link]
/css/[Link]"> <p class="degree" id="frahtine">°F</p>
<!-- or --> <a href=""><i class="bx bx-sun settingMenu"
id="icon"></i></a>
<link rel="stylesheet" href="[Link]">
<!-- <a href=""><i class="ri-settings-2-line
</head>
settingMenu"></i></a> -->
10
WEATHER WEB APPLICATION 2024
<div class="leftCImage">
<h2 id="windStatus">43%</h2>
<i class="ri-map-pin-2-line"></i>
<p><i class="ri-sun-line"></i></p>
<p id="sunRise">6:30</p>
</div> </div>
<div class="rightContainer">
<div class="contentBox">
<h2 id="Pressure">43%</h2>
</div> </div>
11
WEATHER WEB APPLICATION 2024
<h2 id="Feels">43%</h2>
</div> </div>
<div class="contentBox">
<p>Humidity</p> </div>
<div class="insideContent">
<h2 id="Humidity">43%</h2>
</div>
</section>
</div> </div>
<div class="contentBox">
<p>Visibility</p> </body>
<div class="insideContent">
<h1><i class="ri-eye-line"></i></h1>
<script src="[Link]"></script>
CSS:
*{ background: var(--bgColor);
margin: 0;
padding: 0; }
box-sizing: border-box;
list-style: none; :root {
font-family: 'Nunito Sans', sans-serif; /* Black Theme */
--bgColor: #141216;
text-decoration: none; --mainColor: #1D1B1F;
} --textColor: #FCFCFC;
12
WEATHER WEB APPLICATION 2024
--bgColor:#F3F4F6; .settingMenu {
--mainColor:#FCFCFC; color: var(--textColor);
--textColor:#0000; */ font-size: 1.56rem;
} margin: 0 10px;
}
.whiteTheme {
--bgColor: #F3F4F6; .searchBar {
--mainColor: #FCFCFC; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0
--textColor: #1D1B1F; 6px 20px 0 rgba(0, 0, 0, 0.19);
gap: 12px;
} display: flex;
padding: 12px 24px;
width: 365px;
border-radius: 20px;
.logo img { border: none;
width: 160px; outline: none;
} background: var(--mainColor);
color: var(--textColor);
section { font-size: 1.2rem;
padding: 2px 5%;
} }
header { .searchIcon {
padding: 2px 5%; background: var(--mainColor);
display: flex; color: var(--textColor);
justify-content: space-between; font-size: 1.2rem;
align-items: center; }
position: relative;
top: -25px; /* container */
} .container {
gap: 50px;
input[type="text"] { display: flex;
width: 304px; width: 100%;
border: none; }
outline: none;
background: var(--mainColor); .leftContainer {
color: var(--textColor); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0
font-size: 1rem; 6px 20px 0 rgba(0, 0, 0, 0.19);
} display: flex;
flex-direction: column;
13
WEATHER WEB APPLICATION 2024
14
WEATHER WEB APPLICATION 2024
} .sun_moon {
display: flex;
[Link] { gap: 12px;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 }
6px 20px 0 rgba(0, 0, 0, 0.19);
align-items: center; /* loader */
background: var(--mainColor);
color: var(--textColor); .loader {
border-radius: 50%; border: 4px solid #f3f3f3;
padding: 8px 12px; border-top: 4px solid #3498db;
} border-radius: 50%;
width: 40px;
.insideContent h1 { height: 40px;
font-weight: 100; animation: spin 1s linear infinite;
} margin: 0 auto 10px;
}
.insideContent h2 {
font-weight: 100; #loadp {
} text-align: center;
}
.sunRise {
line-height: 2; @keyframes spin {
align-items: center; 0% {
text-align: center; transform: rotate(0deg);
font-weight: bolder; }
}
100% {
.loader-container { transform: rotate(360deg);
flex-direction: column; }
width: 100%; }
text-align: center;
color: #ffff; /* responsive */
15
WEATHER WEB APPLICATION 2024
@media (max-width:880px) { }
.rightContainer {
width: 380px; @media (max-width:600px) {
} .container {
} justify-content: center;
flex-wrap: wrap;
@media (max-width:760px) { }
/* .setting{ .rightContainer {
position: absolute; width: 300px;
top: 123px; }
} */ }
.searchBar { @media (max-width:330px) {
position: absolute; [Link]{
top: 123px; padding: 4px 8px;
width: 90%; }
} .setting{
gap: 4px;
input[type="text"] { }
width: 100%; }
}
JAVASRCIPT: [Link](".city").innerText =
[Link] + ", " + countryCode([Link])
let city = "mumbai"
[Link]("temp").innerText =
let userUnit="metric"
[Link]([Link]) + "" +
let DEGREE="C"
[Link](176) + DEGREE
let SPEED="m/s"
[Link]("windStatus").innerTex
const apiKey =
t = ([Link]).toFixed(1) +" "+SPEED
"10d696a846bb58e1b7f8c9abef6f5c4d"
[Link]("Humidity").innerText
= [Link] + " %"
[Link]("Visibility").innerText
async function checkWeather() {
= ([Link]) / 1000 + " km"
const apiURL =
[Link]("Pressure").innerText =
`[Link]
[Link] + " hPa"
units=${userUnit}&q=${city}`
[Link]("Feels").innerText =
const response = await fetch(apiURL +
[Link]([Link].feels_like) + " " +
`&appid=${apiKey}`)
[Link](176) + DEGREE
// [Link](city)
[Link]("sunRise").innerText =
let data = await [Link]();
[Link]([Link],
// [Link](data);
16
WEATHER WEB APPLICATION 2024
} checkWeather()
[Link]("celsus").addEventListe
let icon = [Link]("icon"); ner('click', ()=> {
let imageLogo = if(userUnit!=="metric"){
[Link]("imageLogo"); userUnit="metric"
[Link] = (event) => { DEGREE="C"
SPEED="m/s"
[Link]("whiteTheme") checkWeather()
[Link]('bxs-moon') }
if
([Link]("whiteTheme")) })
{
17
WEATHER WEB APPLICATION 2024
18
WEATHER WEB APPLICATION 2024
CHAPTER – 5 : SNAPSHOTS
19
WEATHER WEB APPLICATION 2024
CHAPTER- 6 CONCLUSION
6.1CONCLUSION
Now a day’s there is a big demand of different types of applications, which is
because IT has become the main part of our New World. There is a big need of
different applications. People want application for every specific task from
work to entertainment. We have developed the application “Weather
WebApp” which works easy on any given web browser. The application has
been tested and found to be working as per the given criteria. It can be safely
concluded that the application possesses a highly efficient UI system and is
working properly and meeting to all the requirements of the user. The
application gives the user maximum flexibility in the types of touch and other
device movements.
CHAPTER– 7 BIBLIOGRAPHY
Website
✓ [Link]
✓ [Link]
✓ [Link]
✓ [Link]
✓ [Link]
20