+ 1
Hello, I have difficulty in JavaScript, I don't know. Why I can't use alert, because it's doesn't work. I think my script is ok.
(solved) function showPreloader() { //complete the function alert("Loading !"); } //call the function showPreloader();
7 Respostas
+ 2
Ratna13 That's great.
However, on the Sololearn application, If you use the "Web" playground instead of "Node.js", you can use browser js e.g. alert.
+ 4
Are you running it in a browser? Note that alert will not work in Node.js and some other runtimes.
+ 2
Okayy, I'll try it,
+ 1
Ratna13 I see you prepended "(solved)" to your question description. Does that mean you have solved your problem?
+ 1
Yes, I've just changed using console.log 😂
0
I'm using application, how to change from note.js ? Because it's default