qosaenergy.blogg.se

Visual studio code javascript for loop
Visual studio code javascript for loop










If I make a new file, suppose I make a file and call it index.html. Be sure you're not confused between the two. Over here this button will create a file. I just made a folder and it's empty, but I can put a file in that folder and close that welcome screen. There's no files in this folder currently. Now you can see I've got my welcome screen again and I've got MYPROJECT here. I can actually open that folder, myproject.

visual studio code javascript for loop

Then over here, close this file, and open up the sidebar here, and no folder opened. It doesn't have to be, but you have to not have spaces, so myproject. Also all the letters or lowercase, it'll just make your life so much easier if you keep everything lowercase. Notice there are no spaces in that folder name. Over here I'm going to make a folder, and I'm going to give the folder a name, myproject.

visual studio code javascript for loop

But for right now this is just a single file. I might have a CSS file, I might have multiple JavaScript files as we get going here. That's fine for a single file, but usually, if I'm working on a project, I'm going to have a folder with a bunch of related files. This file, myfile.html, this file here is just sitting on my desktop. The next thing to talk about is folders and working with folders for projects.












Visual studio code javascript for loop