HTML Escaping
Notes
HTML escaping is essential for developing safe web apps as it helps prevent Cross Site Scripting (XSS), which is a term used for malicious JavaScript injection. To learn more about why XSS is dangerous, read Part One of this article: Excess XSS: A comprehensive tutorial on cross-site scripting.
Code
View the final code from this lesson.