Ask for the whole project in one detailed request, review what the agent proposes before you approve it, then make one small, scoped change.
In this lesson, you will:
- build a dependency-free quiz in
index.html. - open the quiz in a browser from the session.
- make one focused change and verify it.
Build the quiz
Send the following prompt in your Copilot CLI session:
Create a space exploration quiz with 10 questions, a progress bar, score counter, and colorful animated feedback (green for correct, red shake for wrong). Show a results screen with an emoji reaction at the end. Single index.html, no server or dependencies. Accessible, keyboard-navigable, and respects prefers-color-scheme.
- Read the proposed plan and approve the file changes.
- Open
index.htmlin a browser and play a few questions. To launch it from the session, run!open index.htmlon macOS,!start index.htmlon Windows, or!xdg-open index.htmlon Linux.
Make a small change, then check it
Ask for one focused refinement so you can see how a scoped request behaves:
The results screen feels flat. Give it a stronger sense of arrival: animate the score counting up and make the emoji reaction larger. Change nothing else.
- Reload the page in your browser and play through to the end.
- Notice that nothing is in Git yet, so there is nothing to diff against. That changes after you publish the project.
Summary and next steps
You built the quiz and refined it with a scoped request. Continue to Lesson 2: Capture project instructions.