Back to tutorials

What is VS Code?

VS Code: Your coding workspace
Visual Studio Code is a free text editor designed for writing code and HTML files. Think of it as Microsoft Word, but for code.

Notepad

Plain text, no hints, easy to make typos

VS Code

Color coding, auto-complete, error detection

Open your project folder
Always open the entire project folder, not individual files.
  • File → Open Folder...
  • Select "wwf-discovery-day"
  • Click "Open"
Why a folder? Opening the whole folder lets you see all project files in the sidebar and enables Git integration.
The interface: sidebar + editor
Left side shows your files. Right side is where you edit. Click any file to open it.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Discovery Day</title>
</head>
Edit files like normal
Just click and type! VS Code color-codes your HTML automatically. Save with Cmd+S (Mac) or Ctrl+S (Windows).
<body>
<h1>Discovery Day - Science Disco</h1>
<div class="chart">
<h2></h2>
</div>
</body>
Source Control: Your Git panel
Click the branch icon in the left sidebar to access Git features. This is where you'll commit and push your work.

View changes

See which files you've modified

Stage & commit

Save your changes with a message

Push to GitHub

Upload your commits to the cloud

Pull updates

Download changes from teammates

This connects to what you learned about GitHub!

That's all you need!
You're ready for Discovery Day. Here's your quick reference:
  • Open your project folder
  • Click files in sidebar to edit
  • Type and save like normal
  • Use Source Control for Git
Everything else you can learn as you go!