First off, the {% javascript %} is not on the Shopify Cheat Sheet — A resource for building Shopify Themes with Liquid which is a little frustrating. I love this resource just might be dated? I do not know.
But currently, I am trying to have a user input some data. Then when they press a button it calls a function. But when I press the button, it says the function does not exist. I am confused of the scope of the {% javascript %} tag and if it is actually important to use? Why would I not just use a normal HTML tag instead?
Thank you in advance for your help.

