Speed Run Code
Tracks/AI Coding Fundamentals/Writing Better Prompts
Level 1

Writing Better Prompts

How to talk to AI so it actually does what you want.

Lesson Notes

Prompt quality is the single biggest factor in output quality. A good prompt includes: (1) context — what language/framework you are using, (2) the goal — what you want built or fixed, (3) constraints — what it should NOT do, and (4) output format — should it be a function, a component, a SQL query? The more specific you are, the less you have to edit.

Your Challenge

+10 XP

Take a vague prompt like "make a login form" and rewrite it as a specific, detailed prompt. Then paste both into your AI tool and compare the output quality.