0
Anybody tell me how to num JavaScript in vscode. I mean which extension is used.
I saved my code in .js file but its not giving answer. Var status=1; Var msg; F (status==1){ Msg="online"; } Else if (stauts==2) { Msg="away"; } Else{ Msg="offline"; }
4 Answers
+ 1
How to run it? Load the script in an HTML file then open it in a browser.
0
How to open in browser
0
Open your browser -> File -> Open -> Look for the HTML file.
0
I put it on .js file in vscode but code isnt working