Coming next
Steps 7 to 9 are being written. They cover installing Git, saving your first commit, and turning on GitHub Copilot.
A guide for high school students
An AI assistant can write code for you in seconds. But it cannot tell you when that code is wrong. It cannot explain the words that everyone around you is using. And when your project breaks the day before it is due, the problem is still yours. This site is for the parts that stay yours: knowing what a repository is, reading an error message, and asking a good question.
The hardest part of learning to code with AI is not the code. It is the vocabulary. Everyone who codes, including the AI, uses words that nobody taught you (yet!). Imagine an answer that starts Just clone the repo and run it from the CLI.
If you do not know three of those words, the answer is useless. If you paste the commands anyway without understanding them, you can break your project.
So the glossary is the first part of this site I built, and you should come back to it often. Every term is explained in plain English. The English term is always shown, so you can find it on a button, in a menu or in an answer from someone else.
Move your mouse over any underlined word on this site to read a short version, without leaving the page.
The goal is understanding concepts in your native language (if Chinese!), but ensuring that you also learn terms in English, as it is the global standard for code.
Almost every menu, button and error message you will see is in English. Imagine a student who learns only 仓库. The direct translation is 'warehouse', so dropping 仓库 into a translator will lead to some confusion, as the contextual translation is repository, such as in GitHub.
For this reason the toggle never hides the English terms. When you turn it on, the explanation changes to Chinese. I promise you can ask professional programmers and software developers and they'll confirm the importance of learning the English coding words. They'll eventually allow you to talk about this stuff with people all over the world.
A language model predicts text. It is very good at this. Writing code is mostly a text problem, so the results can be impressive. But predicting is not understanding. A wrong answer sounds exactly as sure as a right one. The assistant also cannot see your screen, run your program or know what you tried an hour ago.
This leads to some practical habits. Ask for one piece at a time. Run it. Read the error yourself before you paste it. Commit before you accept a large change, so you can always return. None of this means you should distrust the tool. It means you stay the person who knows what your project does.
The Workflow tab will explain each of these in detail.
The glossary is finished and ready to use. The other three tabs are being written.
This page takes you from an empty laptop to your own webpage in a browser. It takes about 30 minutes. Do the steps in order. Each step ends with a picture. When your screen looks like the picture, go to the next step.
You are ready when you have all four.
VS Code is the code editor you will use. It is free, and Microsoft makes it.
VSCodeUserSetup.
.zip file downloads to your Downloads folder..zip file, double-click it.
You are done when VS Code is open and you can see the Welcome page.
Learn these five names first. Every step after this one uses them.
The Panel may be closed. To open the terminal in it, press Ctrl+`. This is the same on Windows and Mac. The ` key is to the left of 1.
You are done when you can point at all five parts on your own screen.
A website is a folder of files. You will make the folder and the first file now.
my-site.my-site. Then click Select Folder or Open.index.html and press Enter. The file opens in the editor.<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My first page</title>
</head>
<body>
<h1>Hello! This is my page.</h1>
<p>I made this with VS Code.</p>
</body>
</html>
A dot on the file's tab means it has changes that are not saved. When you save, the dot goes away.
Why the name index.html? A browser opens the file with this name first. It is the front page of your site.
You are done when index.html is in the Explorer, the code is in the editor, and the tab has no dot.
Now you will see your page next to your code. First, you need one extension.
Live Preview in the search box.index.html in the Explorer to go back to your file.
You can also right-click index.html in the Explorer and click Show Preview. Your page opens next to your code. Live Preview runs it on your own computer, so only you can see it.
You are done when you see Hello! This is my page. as a big heading next to your code. This is your first webpage.
<h1>.<h1> and </h1>. Write your name, or anything you like.The preview shows your change before you save. A normal browser only shows what is saved. So save each change you want to keep. If you make a mistake, press Ctrl+Z or Cmd+Z to undo it.
This is the loop you will use for everything. Change one thing, look at the result, then keep it or undo it. The Workflow tab explains this loop in detail.
You are done when the preview shows your new heading, and the tab has no dot.
Steps 7 to 9 are being written. They cover installing Git, saving your first commit, and turning on GitHub Copilot.
How to ask well: what to include, what to skip, and why pseudocode gets you better code than a description does.
This page is a placeholder. See prompt and context window in the glossary for the idea underneath it.
This page explains every technical word on this site in plain English. Move your mouse over any underlined word on the site to see a short version, without leaving the page. The 中文 switch shows the explanations in Chinese. The English term always stays.