Using .after() to add html closing and open tags
You can’t think about DOM modification as if you were editing the original HTML file. Once the browser has parsed the HTML file, to all intents and purposes it no longer exists. The only thing that matters is the DOM representation. With that in mind, let’s have a look at the bit of code you’ve … Read more