Building and Learning with AI

This is an AI-first course. You are here to build real things and to learn by building them, with AI as your main tool. You are expected to use AI on every assignment, starting in the first week.

You will work with tools like GitHub Copilot, Claude, and ChatGPT throughout the semester. You will not spend it memorizing syntax. You will learn to direct AI, read what it produces, judge whether it is sound, and correct it when it is wrong. Developing that ability is the focus of this course. The work covers the whole job of building a product, from writing a PRD to deploying it, not just the code in between.

🔑 The one rule: understand what you ship

You can use any AI tool on any assignment. The one thing you cannot do is hand in work you do not understand.

You should know your own project well enough to explain what the important parts do, change them, and fix them when they break. You will not be asked to defend every line, and nobody expects you to recite a CSS reset from memory. But if the instructor asks you to walk through your code and a whole section is a black box to you, that is treated the same as turning in someone else's work.

The demos, cold calls, and checkpoint interviews all exist for one reason: to check that you actually understand what you built.

🎭 Give AI a role

Decide what role you want AI to play before you start typing. The same tool does very different jobs depending on how you frame it.

  • Tutor. Ask it to explain a concept rather than solve your problem, or to point you to something to read. "Explain what a Python list comprehension does, in two sentences with one example."
  • Planning partner. Before you build, talk through your approach and let it poke holes. "Here is my plan for the login page. What am I missing before I start? Do not write code yet."
  • Debugging partner. When something breaks, have it help you find the cause instead of handing you a patch. "Do not write the code. Ask me questions until I find the bug myself."
  • Research assistant. Ask it to gather options and narrow them down so you can choose. "List the ways to center an element in CSS, one line each, so I can pick one."

When you work alongside it like this, you stay the driver: you set the direction and decide what to keep. The more specific you are about the role, and about what AI should not do, the more useful the answer.

🤖 Working with AI agents

Newer tools do more than answer questions. GitHub Copilot's agent mode, Claude Code, and Codex are AI agents (sometimes called agentic AI): they work in a loop, reading your code, planning a change, editing files or running commands, then checking the result and repeating until the task is done or they hand control back to you. That is powerful, and it changes your job, since you are reviewing and directing more than you are typing.

The more an agent does for you, the more your understanding matters, not less. You are still the one who has to explain the result, fix it when it breaks, and stand behind it at a checkpoint. Never let an agent get further ahead than you can follow. If it builds something you cannot read, slow down and have it walk you through the parts before you move on.

✅ What good AI use looks like

  • Generate, then adapt. Ask AI to produce something, then read it and change it to fit what you are building.
  • Explain. Have it break down code you did not write, including your own from last week.
  • Debug with context. Paste an error message together with your code and work through the fix.
  • Simplify. Ask it to review working code and suggest a cleaner version.
  • Learn as you go. Use it as a tutor for any concept you hit. "Why is my layout breaking on mobile?"
  • Override it. Strong students disagree with AI and change its output: "It suggested this, but I changed it because..." That instinct is exactly what this course is meant to build.

🚩 Red flags

Some ways of using AI feel efficient but quietly work against you.

  • Treating AI as the source of truth. AI guesses from patterns, and without enough context it hands you code that is wrong or out of date. When you need a definite answer, check the official documentation first, then use AI to help you apply it.
  • Pasting code you cannot explain. If you ship code you do not understand, the problem does not disappear. It moves to the next bug you cannot fix. Break the snippet into parts and ask about each one until you can explain the whole thing in your own words.
  • Leaning on AI for every decision. AI is a good thinking partner, but do not let it set your whole approach. Its first answer is rarely the only way to do something, and often not the best one. Ask for a couple of alternatives, try your own ideas, and compare them before you commit.
  • Skipping the quality check. AI code does not always follow good habits: clear names, sensible structure, nothing you would be embarrassed to show someone. Read it with that eye before you keep it. The web-specific warning signs are listed in Using AI Tools for Web Development.
  • Looking only for agreement. If you ask AI whether your idea is right, you will usually get a yes. Ask it what is wrong with your approach instead, or what you might be missing.

⭐ What we reward

  • Working software. Your project loads, the main feature works, and the page does not crash.
  • Evidence that you built it over time. A commit history that grows across days, with messages that say what changed, beats one commit that drops the whole project at once.
  • Honest reflection. "The code AI gave me for checking email addresses rejected valid ones, so I read it, found why, and fixed it" tells us more than "today I learned about forms."
  • Knowing when to overrule AI. Catching that a suggestion is wrong, or wrong for your situation, and changing course. "It ran fine, but it would have broken on mobile, so I did it another way." That is judgment.
  • Building your own taste. Over the semester you start to feel when AI's answer is clean and when it is off, even when both versions work. That sense, and being able to say why, is what this whole course is built around.

AI is one tool among many. When you are stuck, the official documentation, a search engine, your classmates, and the instructor are all worth turning to.

For the practical how-to of working with AI on web code, see Using AI Tools for Web Development.

Last updated: Friday, 6/5/2026