Predict the HTTP Status Code
Predict OutputEasy
Question
A browser requests a page that exists and loads successfully. What HTTP status code does the server return?
Code
HTTP/1.1 ___ OK
Hint
The most common success status code starts with 2.
Explanation
HTTP status code 200 means 'OK' — the request was successful and the server is returning the requested content. Codes starting with 2xx indicate success; 4xx indicates client errors (like 404 Not Found); 5xx indicates server errors.
Related Resources
Related Lessons
- HTTP
Learn the HTTP protocol and status codes.
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.