OWASP XSS Prevention Cheat Sheet Tasks

These tasks are based on the OWASP XSS Prevention cheat sheet. Number 6 is skipped as it didn't fit as a task here.
The main goal of each task is to learn about how to exploit and protect against XSS in the different contexts of the cheat sheet.