Can’t say for sure without a read only and published link, BUT some random text/code appearing at the top/bottom of your page usually indicates some problem with your custom code. Check the page and sitewide settings and check if you accidentally left a bracket sitting there