Developer Academy

JavaScript

Drills { } ( ) ` $

Type it exactly as written, including indentation and line breaks. Press Enter at the end of each line.

0wpm
100% acc
0:00Time
async function loadProfile(id) { const res = await fetch(`/api/profile/${id}`); if (!res.ok) { throw new Error(`Request failed: ${res.status}`); } return res.json(); }

Just start typing.Tabrestarts