Hint for XSS.js

Good to see people having fun taking a crack at the 7x7 Secure Programming Game challenge series.

For those of you that need some help with the XSS.js challenge. Here is some advice:

Perform output encoding of HTML entity unsafe characters.

Transform & to & ,

< to &lt; ,
> to &gt; ,
" to &quot; ,
and ' to &#x27;

Hints for more challenges will be shared every week so keep checking in!