Same as ever - Uncaught ReferenceError: runcode is not defined (line 10)
and
Uncaught SyntaxError: await is only valid in async functions and the top level bodies of modules (line 12)
Same as ever - Uncaught ReferenceError: runcode is not defined (line 10)
and
Uncaught SyntaxError: await is only valid in async functions and the top level bodies of modules (line 12)
After you open the page, can you paste the above code that I pasted in your browser console? It should work
Just did and yes, it fires up Metamask just fineβ¦
So is it my contract address then?
No, I think that it is how the JavaScript code is written in that html, I copied that code from your code and added one more line with enableWeb3