codex-lv2-may-2025

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:

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:

git init

✅ Now your folder is a Git repo.

E. Open your files in your computer’s GUI


✅ Summary

You have successfully:

You’re now ready to open this project in VSCode!


Navigation

0 | Current Level: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8