I am a very beginning in javascript and these are my first lines in it
I am following a tutorial and I believe I did the same but even though I have this flag error, I saw the same questions but still don’t understand the cause of the problem
my code
alert("hello");
the error
index.js:1 Uncaught TypeError: alert is not a function
at index.js:1
(anonymous) @ index.js:1