When I use script tag in body js work fine
after that I write code in external js file not work…
I also try same code in body script tag work file then the code copy and past in external js after that not working see picture…
js code
// const loginBtn = document.getElementById(“login”);
// loginBtn.addEventListener(“click”, function() {
// console.log(“hello Arnab”);
// })