I've been trying to include a javascript file in AMP page but it fails each time i tried
<amp-iframe width="200" height="100px"
layout="responsive" sandbox="allow-scripts allow-same-origin"
src="https://laraflat.000webhostapp.com/public/js/index2.js">
</amp-iframe>
but it fails to load the functions inside this script