I am creating AMP pages for my Website.
I have a JQuery library which I want to intgrate with Google AMP
I have referred to Google's Guidelines >https://amp.dev/documentation/guides-and-tutorials/develop/custom-javascript/ But, I have had no success.
I am getting the following error
Uncaught TypeError: Cannot read property 'createHTMLDocument' of undefined
[amp-script] Dropped 19x "ATTRIBUTES" mutation(s); user gesture is required with [layout=container]
log.js:251 [amp-script] Dropped 24x "CHILD_LIST" mutation(s); user gesture is required with [layout=container].