The process of finding and eliminating errors in code and also taking steps to prevent them in the future is known as debugging. There are many errors that can come about in code, and fortunately, many ways to find and fix them. Debugging is an important skill of any web developer.
You should expect errors whenever you are writing code (for any language). Computers do exactly as they're told, they don't know if you made a mistake or not. If you made a mistake they function on that mistake assuming that's how it's supposed to be.
Everyone that writes code will run into errors (yes, everyone). You are after all, a human and you will make mistakes. And it's ok if you do, but it's how you react to those mistakes that counts.
The tutorials in this section included information on when to expect errors, types of errors, common errors, how to find errors, good practices to avoid errors, and more.
Take our Debugging quiz to test your knowledge of debugging.
Pick two or three languages, create a separate directory where you will store files for debugging, write some code and practice debugging it using the information contained in this section. Improve your debugging skills through this practice and you will be a much better web developer because of it.