<div class="container">
<h1>Weather App</h1>
<div class="search-box">
<input type="text" id="cityInput" placeholder="Enter city name">
<button onclick="getWeather()">Search</button>
</div>
<div id="weatherResult" class="weather-card">
<h2 id="cityName"></h2>
<img id="weatherIcon" src="" alt="">
<p id="temperature"></p>
<p id="condition"></p>
<p id="humidity"></p>
<p id="wind"></p>
</div>
</div>
<script src="script.js"></script>
Weather App
Welcome to the forum @Thearmaan,
It looks like you may be working on the JavaScript Weather App challenge, but we can’t help without seeing all of your code.
Please use the “Help” button in the challenge to send us your formatted code and a link to the challenge.
Happy coding
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.