Skip to content

Commit 5aba63b

Browse files
committed
add weather search bar, weather result container, and script link
1 parent a190ae6 commit 5aba63b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

weatherApp/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"><!--Insert boostrap link-->
99
<link href="https://cdn.jsdelivr.net/npm/boxicons@2.1.1/css/boxicons.min.css" rel="stylesheet"><!--Insert boxicon link-->
1010
<script src="jquery/jquery3.7.1.js"></script><!--Link to Jquery script file-->
11+
<script src="scripts/script.js"></script><!--Link to script file-->
1112
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script><!--Insert bootstrap script link-->
1213
</head>
1314
<body>
@@ -32,6 +33,22 @@
3233
<section class="weatherContainer">
3334
<h2>The Weather</h2>
3435

36+
<!--Create search bar-->
37+
<div class="searchBar">
38+
<input type="text" id="searchInput" placeholder="Search for a City" spellcheck="false">
39+
<button><i class='bx bx-search'></i></button>
40+
</div>
41+
<!--Create search results container-->
42+
<div class="weatherResult">
43+
<img class="weatherIcon" src="images/cloudy.png">
44+
<h3 class="temp">22C</h3>
45+
<h4 class="cityName">Germany</h4>
46+
47+
<!--Insert details column-->
48+
<div class="details">
49+
50+
</div>
51+
</div>
3552
</section>
3653

3754
<!--Create about Section-->

0 commit comments

Comments
 (0)