LevelUpWith

Explore / Scaling Apps Beyond the Chat Window: Part 1, From Prompt to Project / Lesson 2

Lesson 2: What a Real Project Is: Files and Folders

Learn how a project is laid out as files and folders, what file extensions mean, and how to find a project folder on your computer.

Free to read, no account needed. Part of Scaling Apps Beyond the Chat Window: Part 1, From Prompt to Project.

By the end of this level you'll be able to

  • Create a project folder in a sensible place and explain what a file path is
  • Identify common file types in a web app (.html, .css, .js, .json, .md) and what each one is for
  • Turn on visible file extensions and hidden files in your operating system's file browser

Why Files and Folders Matter Now

In Level 1 you saw why a chat-built app hits a wall: the chat has limited context, no memory and no history, and nothing is online. The fix starts here. A real project is just a folder on your computer that holds every file your app needs. You, your editor and your coding agent all work on that same folder.

Think of a project folder as a ring binder. Each file is one page with a single job, and subfolders are the dividers that group related pages. When your app lived in a chat, it was one long page of text. Now each part gets its own page.

Task 1: Turn On File Extensions and Hidden Files

A file extension is the dot and the letters at the end of a file name, such as .html in index.html. It tells you, your computer and your coding agent what kind of file it is. Windows and macOS often hide extensions, so index.html and index.html.txt can look the same. That causes real bugs.

Hidden files have names that start with a dot, such as .gitignore or .env. You will work with these in later levels, so you need to be able to see them.

DO this now on your computer:

Windows 11 (File Explorer)

  1. Open File Explorer from the taskbar.
  2. Select View > Show > File name extensions.
  3. Select View > Show > Hidden items.

macOS (Finder)

  1. Open Finder.
  2. Choose Finder > Settings, then click Advanced.
  3. Tick Show all filename extensions.
  4. In any Finder window, press Command + Shift + . (period) to show hidden files. Press it again to hide them. Hidden items appear dimmed.

Linux (GNOME Files)

  • Press Ctrl + H to show or hide hidden files.

These two settings are separate, so check that both are on. Menu names can change between operating system updates (these were checked in October 2026). If yours look different, search your operating system's official help for "show file extensions".

Task 2: Create Your Project Folder in a Sensible Place

Pick one home for all your projects so you always know where to look.

  1. Open your user folder (on Windows, C:\Users\YourName; on macOS, the folder with your name and a house icon).
  2. Create a new folder called Projects.
  3. Inside Projects, create a folder for your app, for example space-snake.

Follow these naming rules for folders and files:

  • Use lowercase letters.
  • Use hyphens instead of spaces (space-snake, not Space Snake).
  • Avoid special characters such as &, # or !.
  • Keep names short and descriptive.

Spaces and symbols often break tools you will use later. Also avoid putting projects inside Downloads or on a USB stick. If your Desktop or Documents folder is synced by a cloud service such as OneDrive or iCloud, a folder outside it is usually safer, because syncing many small project files can cause conflicts.

Task 3: Understand File Paths

A file path is the full address of a file. It lists every folder you pass through to reach it, like a street address that goes from country to house number.

  • Windows: C:\Users\Sam\Projects\space-snake\index.html
  • macOS: /Users/sam/Projects/space-snake/index.html

Read it left to right: drive or top level, then user folder, then Projects, then the project, then the file. Windows separates folders with a backslash \. macOS and Linux use a forward slash /.

DO this to see your project's path:

  1. Windows: open the project folder in File Explorer and click the address bar at the top. The full path appears as text.
  2. macOS: in Finder, choose View > Show Path Bar. The path appears at the bottom of the window.

Write this path down. Your coding agent will need to know exactly which folder to work in.

Task 4: Recognise the Common File Types

A simple web app or browser game usually contains these files:

Extension Name What it is for
.html HTML The structure and content of a page: headings, buttons, the game canvas
.css CSS The look: colours, fonts, layout, spacing
.js JavaScript The behaviour: game logic, button clicks, scores
.json JSON Structured data or settings stored as text, such as a list of levels or a project's configuration
.md Markdown Readable notes with simple formatting, such as a README or instructions for your coding agent

A small project might look like this:

space-snake/
  index.html
  styles.css
  game.js
  levels.json
  README.md
  images/
    snake.png

All of these are plain text files. You can open any of them in a basic text editor and read them. That is what lets a coding agent read and change them one at a time, instead of rewriting one giant chat answer.

DO this: look at the last app you built in a chat. Find where the HTML, CSS and JavaScript parts are. In Level 5 you will split them into files like the ones above.

Key Takeaways

  • A real project is one folder holding all of your app's files, with subfolders to group them.
  • Turn on file name extensions and hidden files so nothing is disguised or invisible.
  • Keep projects in one predictable place, such as Projects in your user folder, and use lowercase names with hyphens and no spaces.
  • A file path is a file's full address. Windows uses \ and macOS and Linux use /.
  • .html is structure, .css is style, .js is behaviour, .json is structured data and settings, and .md is readable notes.

A 6-question knowledge check follows this lesson in the app, free and without an account.

Keep going: levels 3 and 4 are free

Create a free account to open the next two levels, save your progress and pick up where you left off. No card needed.

Next: Level 3, The Terminal Without Fear.

Create a free account →See the whole course

More like this

  • GitHub Copilot (GH-300) Exam Prep

    Learn GitHub Copilot hands-on in the editor, in the CLI and on github.com, and work through every skill in the GH-300 study guide (skills measured as of August…

    Exam prep · GH-300 · Software & Engineering · Capable · 18 levels · 4 free · Professionally curated by levelupwith.com

  • Scaling Apps Beyond the Chat Window: Part 3, Mobile Apps, Games and Growth

    Turn your first live app into a real product. Learn to choose between web and app store apps, publish a browser game, take payments safely, run and monitor a l…

    Course · Software · Software & Engineering · Capable · 24 levels · 4 free · Professionally curated by levelupwith.com

  • Scaling Apps Beyond the Chat Window: Part 2, Online, Secure and AI-Powered

    Take one small app from your GitHub repository to a public web address. You will host it on Vercel and give it a Supabase database, sign-in and file storage, w…

    Course · Software · Software & Engineering · Capable · 16 levels · 4 free · Professionally curated by levelupwith.com

  • Right Chip, Right Job: CPUs, GPUs, TPUs and Beyond

    Profile a workload, place it on a roofline and pick the processor that actually suits it, whether CPU, GPU, TPU, ASIC, inference chip, NPU, FPGA or DPU. You wi…

    Beyond the Obvious · Software & Engineering · Expert · 61 levels · 4 free · Professionally curated by levelupwith.com

  • Build Your First Website with HTML and CSS

    Start from a blank file and build a real, accessible personal or small-business website that works on phones. Each level adds to the same site, covering semant…

    Course · Software · Software & Engineering · Capable · 18 levels · 4 free · Professionally curated by levelupwith.com

  • JavaScript from Zero: Build Interactive Web Pages

    Start with no coding experience and finish with a working to-do app you built yourself in plain JavaScript. Along the way you will learn to change the page thr…

    Course · Software · Software & Engineering · Capable · 20 levels · 4 free · Professionally curated by levelupwith.com