Skip to content
AITermsLab
–points–day streak

Code without fear: code, files, terminals and vibe coding, explained by doing

Code is just written instructions that a computer follows exactly. You don't need to write much of it yourself these days, but knowing what it is and where it lives makes building with AI far less scary. Below, change one line of a tiny web page's code and watch the preview update.

Change one line, see the page change

Change a line

Line 3: the button's colour

index.html (the code)

1<h1>Rosa's Bakery</h1>2<p>Fresh bread every morning</p>3<button style="background: yellow">Order now</button>

The preview (what visitors see)

Rosa's Bakery

Fresh bread every morning

Order now

Code is just written instructions. Change the heading, the button's words or its colour: the matching line changes, and the preview follows straight away.

The 6 words in this module

Each one has its own page with a demo and three quick questions. Work through them in order.

  1. What is code?

    Code is written instructions that tell a computer exactly what to do, in a language it understands, like HTML for a page's content or Python for a task.

  2. What is a programming language?

    A programming language is a set of words and rules for writing instructions a computer can run, like Python or JavaScript. Each suits different jobs.

  3. What are files and folders in a project?

    A file holds one piece of a project, like a page or a picture. A folder groups related files, so a project's code stays organised and easy to find.

  4. What is a terminal?

    A terminal is a text window where you type commands for the computer, like listing files or starting a program, instead of clicking icons.

  5. What is a bug in code?

    A bug is a mistake in code that makes a program do the wrong thing, like a button that does nothing. Fixing one is called debugging.

  6. What is vibe coding?

    Vibe coding is building software by describing what you want to an AI in plain words, letting it write the code, then testing and asking for changes.

Match each part of a real project to the right word, then answer 3 quick questions. Points count toward your score and today's streak.

Module check: what does it do?

Question 1 of 4

Match each part of a real project to the right word.

  1. The instructions inside index.html
  2. Python or JavaScript
  3. images/logo.png
  4. Typing ls to list a project's files
  5. A button that does nothing when pressed
  6. Asking an AI: make the button green