Quiz Entry - updated: 2026.06.20
What is the typical flow for loading dynamic content from a server?
The client fetches data from the server, awaits the response, then updates the DOM with it - all without a full page reload.
// Client
async function loadUsers() {
const response = await fetch('/api/users');
const users = await response.json();
// Update DOM
renderUsers(users);
}
This enables Single Page Applications (SPAs) that update content without full page reloads.