-
Hi guys, ScreenShot :- Code :- HTML <!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
Hello
<script src="./index.js"></script>
</body>
</html> JavaScript async function connect(){
console.log("Hello");
}
connect(); Can somebody help me why I'm not getting the output? @PatrickAlphaC Can you help me with this?? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I've noticed a difference!! When we deploy using live server and port number we are getting the output but when we deploy using file path (like I did above) we are not getting the output. It's just what I've noticed!! Can somebody explain this please??? |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
Hello,
I have the same problem here. window.ethereum returns undefined, both in Firefox and in Chromium.
It seems that my problem was solved replacing the "Live Server" plugin. After install another server (e.g. with yarn add --dev http-server, as it's suggested in the video) it worked properly for me.