3. Giving the Third Degree

NOW THAT YOU’VE LEARNED HOW TO INVESTIGATE the scene of the crime and you have the tools to crack your cases, it’s time to take the next step and learn techniques to thoroughly interrogate any code and make it ’fess up as to where exactly it went wrong.

Validating Your Hunches

We’d all like to believe that our code is beyond reproach and has no issues, but most of us have also had that lingering suspicion that we’ve missed something. In either case, it’s a good idea to validate.

Validation is a method of interrogating your code to see if it is written correctly. Validation checks the markup and style code that you write against the rules of that particular code version. A validator is a tool, usually online, that ...

Get The CSS Detective Guide: Tricks for solving tough CSS mysteries now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.