Percent-encoding, also known as URL-encoding.
%20 - Space, Etc ...
If is a link on a app and it will be used on url address.
HTML Entities - What for?
Encode the HTML and show in the textarea without exec. For example, if the HTML has JS without a HTML Entity the JS exec inside a inner div.
Variables
Use this if you are asking the user for input or use code that changes every time it is execute.
Error handling
Always use this to build an app and use console to see where the error is.
Possible ways to write the code.
', \', ", \"
This increases the options to keep all the code in the app and working.
Normally the user is limited to ', "
Base64 Options
You can encode Base64 images to keep the images inside the app.
You can use Base64 to encode text and you can encode a Base64 URI.
Base64 URI
This Base64 code is to be exec on url address and can contain HTML code in base64.
URI is limited to 64 characters.
CharCode
CharCode encodes the code to each Caracter.
The advanced way is to use CharCode to encode the HTML and alter the code to have variables inside the code.
What is the purpose?
Develop an advanced app with the option to interexchange between code methods.
What's next?
Not much, let AI in general to evolve and use ASM or any hard language to develop keygens for example.