Traversing the DOM can put stress on a browser and make a site slower. Here are some tips for working with the DOM, as well as how async and defer work.