Predict 404 Status Code
Predict Output Easy
Question
A browser requests /nonexistent-page. What status code does the server return?
Code
GET /nonexistent-page HTTP/1.1
Host: example.com
---
HTTP/1.1 ___ Not Found
Hint
This is the most famous client error code.
Explanation
HTTP 404 means 'Not Found' — the server could not find the requested resource. It is the most well-known 4xx error. The server is running fine, but the specific URL does not map to any resource.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.