Best matchWeather App
Request current weather data and display the response clearly.
Build a weather app →Build an english dictionary with HTML, CSS, and JavaScript while practicing API requests and async and await.
In this project, we’re going to build an english dictionary using HTML, CSS, and JavaScript. You’ll see how to request word data and turn the response into a useful definition. Along the way, you’ll practice API requests, async and await, and keyboard events, so you can understand how the interface and JavaScript logic work together.
Recommended knowledge: Basic HTML and CSS, JavaScript functions and arrays, Promises and the Fetch API, JavaScript variables and number operations.
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>English Dictionary</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1 class="heading">English Dictionary</h1>
<input placeholder="Search a word" type="text" class="input" id="input" />
<p class="info-text" id="info-text">Type a word and press enter</p>
<div class="meaning-container" id="meaning-container">
<p>Word Title: <span class="title" id="title">___</span></p>
<p>Meaning: <span class="meaning" id="meaning">___</span></p>
<audio src="" controls id="audio"></audio>
</div>
</div>
<script src="index.js"></script>
</body>
</html>
Practice API requests, async/await, and javaScript calculations with these related projects.
Best matchRequest current weather data and display the response clearly.
Build a weather app →
Handle asynchronous results and update the interface when they arrive.
Build an amine pics generator →
Turn JavaScript calculations into clear visual results.
Build a dad jokes generator →
Request current weather data and display the response clearly.
Build a weather app
Handle asynchronous results and update the interface when they arrive.
Build an amine pics generator
Turn JavaScript calculations into clear visual results.
Build a dad jokes generator