-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
127 lines (122 loc) · 4.26 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ForeClime</title>
<link
rel="shortcut icon"
href="/assets/images/FORECLIME_1.png"
type="image/x-icon"
/>
<!-- Html2Canvas -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.5.0-beta4/html2canvas.min.js"></script>
<!-- FontAwesome -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
/>
<!-- CSS Styles -->
<link rel="stylesheet" href="/style.css" />
</head>
<body>
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<div class="wrapper">
<!-- Main -->
<div class="main">
<!-- Main Top Heading -->
<!-- Sticky Header -->
<header class="sticky-header">
<div class="main_text">
<h1 class="welcome">Welcome to ForeClime</h1>
</div>
</header>
<!-- Centered Dropdown -->
<div class="dropdown-container">
<div class="dropdown">
<!-- Main Dropdown Box -->
<div class="dropdown_form">
<form id="weather-form" action="">
<!-- Location Text -->
<label for="location">Choose Location:</label>
<!-- Dropdown Box -->
<select name="location" id="location">
<option value="bengaluru">Bengaluru</option>
<option value="delhi">Delhi</option>
<option value="hyderabad">Hyderabad</option>
<option value="chennai">Chennai</option>
<option value="mumbai">Mumbai</option>
<option value="tirupati">Tirupati</option>
</select>
<!-- Submit Button -->
<input type="submit" value="Submit" id="submit-button" />
</form>
</div>
</div>
</div>
<!-- New Text Element -->
<div class="user-location">
<p>
Hey Buddy! Looks like you are in
<span id="city-name">CityName</span>
</p>
</div>
<!-- Weather Box -->
<div class="weather-box">
<h2 class="weather-heading">TODAY'S WEATHER</h2>
<button id="share-button" class="share-button">
<i class="fa-solid fa-share" style="color: #1465f0"></i>
</button>
<div class="weather-info">
<div class="weather-property">
<span class="property-label">Temperature:</span>
<span class="property-value" id="temperature"></span>
</div>
<div class="weather-property">
<span class="property-label">Weather Condition:</span>
<span class="property-value" id="weather-condition"></span>
</div>
<div class="weather-property">
<span class="property-label">Humidity:</span>
<span class="property-value" id="humidity"></span>
</div>
<div class="weather-property">
<span class="property-label">Wind Speed:</span>
<span class="property-value" id="wind-speed"></span>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer">
<div class="footer-left">
<a href="https://forms.gle/mTmPK7EwFmyNSkdr5" target="_blank"
>Feedback</a
>
</div>
<div class="footer-center">
<a
href="https://www.linkedin.com/in/boyapati-sai-kumar/"
target="_blank"
>About Me</a
>
</div>
<div class="footer-right">
<a
href="https://boyapatisaisblog.hashnode.dev/the-open-source-journey-a-guide-for-beginners"
target="_blank"
>Open Source</a
>
</div>
</footer>
<!-- JavaScript Code -->
<script src="/app.js"></script>
</body>
</html>