Chapter 12 What to Do When Things Go Wrong

The old adage that you learn through making mistakes is pertinent when it comes to developing websites. Every developer—every one of them—will attest to making mistakes regularly in this line of work. And if it’s not a mistake that you’ve made, perhaps it’s a bug that’s unique to a given browser that you’re forced to find ways to deal with.

So it’s quite normal to slip up along the way. The issue is how to address a problem when it occurs or, even better, work in such a way that prevents mistakes from happening in the first place. As they say in the medical world, prevention is better than a cure, but we’ll be taking a look at how you can do both in this chapter.


The best ...

Get Build Your Own Website The Right Way Using HTML & CSS, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.