How to read Javascript code

Hi, I am using Visual Studio as a code editor, I have been trying to read my Javascript code abut I can’t read through it can anyone show a way to read my code in Javascript using xampp and visual studio?

1 Like

Hi there, welcome to the forums.

I’m not sure what the problem is that you’re having… If you have a JavaScript file, you ought to be able to open it in Visual Studio Code and read the contents without issue.

(If you’d minified the code, then you might have trouble, but you’d have known enough to minify the code in the first place and so likely wouldn’t be here asking that question…)

Do you mean that you can’t get VSCode to execute your JavaScript?

1 Like

Hi, thanks for replying I was trying to embed the Javascript code into HTML file but that ws before I know the script tag, silly mistake.