Hi there
AMP does not allow custom JavaScript outside of amp-script on a page and instead leverages custom components and things like amp-bind to achieve the same results in a performant and user-friendly manner.
I recommend you to check out https://amp-wp.org/documentation/getting-started/ and https://amp.dev/ to learn more about how AMP works and how this AMP plugin helps you implement AMP on your site.
@swissspidy Are yo aware that amp.dev has been down for at least a month :'(
@craigstanfield Hmm that’s odd. The site has been running just fine here, and https://downforeveryoneorjustme.com/ also says that it’s up. Maybe you can try to temporarily change your internet connection or something to figure out what’s going on?