Working with Code Editors and IDEs - How to Create a Project and Run Your Code Locally in VS Code

Tell us what’s happening:

Hello everyone, So i have a small problem here. I am trying to run live server but I am getting an error message in vs code saying that I should open folder or workplace .I did make a directory folder with the CLI in vs code

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36

Challenge Information:

Working with Code Editors and IDEs - How to Create a Project and Run Your Code Locally in VS Code
https://www.freecodecamp.org/learn/full-stack-developer/lecture-working-with-code-editors-and-ides/how-to-create-a-project-and-run-your-code-locally-in-vs-code

You just need to open that directory in VS Code.
After creating it, run:

cd <your_directory_name>
code .

Or, in VS Code, go to FileOpen Folder...

1 Like