HTTP Status Codes quiz
Understand what the common response codes mean for websites and APIs.
Start the quiz
Enter your name and email. Your name appears on your free certificate, and your email is used to send your certificate details. The quiz has 20 questions. Each question has 4 or 8 options, and some ask you to choose more than one answer.
HTTP status codes are three-digit numbers that a web server sends back to tell a browser what happened to a request. A 200 means success, a 301 means a page has moved permanently and a 500 means something went wrong on the server. Developers, testers and site owners use these codes every day to diagnose problems.
The questions cover the five classes of codes, common redirects, client errors and server errors. Some ask for one correct code, while others ask you to select every code that belongs to a particular group, so read each option carefully.
Each hint explains the correct answer and the reason behind it, which makes the quiz useful as a revision aid. Finish all 20 questions to download a free certificate with your score, and you can verify it online whenever you need to.
Status codes are easiest to remember by their first digit. The 2xx range means success, 3xx means redirection, 4xx means the client made a mistake and 5xx means the server failed. Practise by opening a few broken links on purpose and checking which code the browser reports, so the meanings become familiar in real situations.