Navigation
0 | Current Level: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
Lesson: Set Up Your Project Folder
🎯 Objective
Create a new project folder structure and initialize a Git repository from the command line.
✅ Step 1: Set Up Your Project Folder
A. Open your Terminal or Git Bash
On your computer, open your command-line tool:
- Windows: Git Bash
- Mac: Terminal or zsh
B. Move to your home directory and make your folders
In the terminal, run:
cd ~
mkdir -p projects/lv2
cd projects/lv2
mkdir vscode-lesson1
cd vscode-lesson1
✅ This creates a folder for your lesson inside projects/lv2, starting from your home directory.
C. Create your files
Run these three commands:
touch index.html
touch README.md
touch style.css
✅ You now have an empty HTML file, a README, and a CSS file.
D. Initialize a Git repository
Run:
✅ Now your folder is a Git repo.
E. Open your files in your computer’s GUI
- Open File Explorer (Windows) or Finder (Mac).
- Navigate to your
projects/lv2/vscode-lesson1 folder.
- You should see the three files you created.
✅ Summary
You have successfully:
- Opened your terminal/command line tool
- Created a project folder structure using command line
- Created starter files (HTML, README, CSS)
- Initialized a Git repository
- Verified your files exist in the file system
You’re now ready to open this project in VSCode!
Navigation
0 | Current Level: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8