Best matchEnglish Dictionary
Look up a word and turn the API response into a useful definition.
Build an english dictionary →Build a weather app with HTML, CSS, and JavaScript while practicing API requests and async and await.
This project shows you how HTML, CSS, and JavaScript work together in a weather app. You’ll request weather data, handle the response, and display the result clearly, then practice API requests, async and await, and DOM selection as you build the complete project from scratch.
Recommended knowledge: Basic HTML and CSS, JavaScript functions and arrays, Promises and the Fetch API, JavaScript arrays and array methods.
This project connects the interface to live API results.
index.html<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Weather App</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h1>Weather App</h1>
<form>
<input type="text" id="city-input" placeholder="Enter City" />
<input type="submit" value="Get Weather" />
</form>
<div id="weather-data">
<div class="icon">
<!-- <img src="http://openweathermap.org/img/wn/01d.png" alt="Weather Icon"> -->
</div>
<div class="temperature"></div>
<div class="description"></div>
<div class="details">
<!-- <div>Feels like: 23°C</div>
<div>Humidity: 40%</div>
<div>Wind speed: 5 m/s</div> -->
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>
Practice API requests, async/await, and array methods with these related projects.
Best matchLook up a word and turn the API response into a useful definition.
Build an english dictionary →
Request remote photos and arrange the results into a gallery.
Build a photo gallery →Transform recipe data into useful, dynamic recipe cards.
Build a recipe book app →
Look up a word and turn the API response into a useful definition.
Build an english dictionary
Request remote photos and arrange the results into a gallery.
Build a photo galleryTransform recipe data into useful, dynamic recipe cards.
Build a recipe book app