Retour à la leçon

PROMPTS-en.txt

Le code et les écrans originaux des produits gardent leur langue d’origine. La leçon les explique dans la langue choisie.

REPRESENTATIVE REQUESTS — authored examples, not an archived transcript

0. CREATE THE FIRST WEBSITE
Build a small personal website in this folder.
Visitor: someone considering me for a project.
Content: Alex Morgan; student interested in useful web tools;
one project, Weather sketch, a small weather-interface prototype.
Include an introduction, that project, and a Contact section.
Use index.html and styles.css only, with no build step or external services.
Make it readable on a phone. Do not invent experience or testimonials.
Use a clearly marked placeholder for contact until I supply my address.
Tell me which file to open and what remains unfinished.

Replace fictional content with your own intended public facts when making your real site. The complete-file chat route can return index.html and styles.css instead of editing them.

Use one assistant already available to you, or implement each request manually.
Start with your own my-portfolio copy of 01-start. Keep numbered checkpoints as
references. Supply SAMPLE-BRIEF.txt and AGENTS.md as context; do not add real CV data.
The criteria apply to either route. Ask for a diff and inspect the actual result.

1. READ BEFORE CHANGING
Read index.html and styles.css inside my-portfolio. Explain the current sections,
the existing project and the contact placeholder. Name the files you inspected.
Do not edit yet. The site must continue opening directly in a browser.

2. ADD THE PROJECTS
Using SAMPLE-BRIEF.txt, keep the existing Weather sketch and add Reading journal
(Web) and Study hours (Data). Show a title, category and accurate description on
each card. Keep Alex's introduction and contact section. Use responsive CSS, no
packages or backend. At 320px there must be no page overflow. Show the diff.
Acceptance: exactly three cards, original wording retained, keyboard navigation
still works. Compare with 02-projects/index.html and 02-projects/styles.css.

3. ADD CONTACT, THEN REVIEW THE DESTINATION
Replace the contact placeholder with a visible alex@example.com link targeting
mailto:alex@example.com. Explain that this is a sample to replace before sharing.
Do not send email. Keep all three cards and the introduction. Show the changed
href and label so I can compare them. The deliberately faulty reference is
03-broken-contact/index.html; the correction is 03-contact/index.html.
If the actual href says #contact (a same-page jump), report that mismatch and fix
only the destination. Check the corrected file, not only the visible label.

4. ADD A SMALL FILTER
Add All, Web and Data native type="button" controls with visible keyboard focus
and aria-pressed state. Keep the existing cards in the DOM and in the same order.
Initially show all three; Web shows two and Data shows one. Announce the shown
count in a status. Show an explanation if no cards match. Keep contact and intro.
Use app.js beside index.html; no network, storage or dependencies. Without JS,
all cards should remain readable and unused filter controls should stay hidden.
Test with keyboard, repeated selection, the temporary no-results condition in
README-en.txt and a narrow window. Compare with 04-filter only after trying.

5. REPORT THE RESULT
List changed files and checks actually performed. Include any observed failure,
the correction and its recheck. Mark unrun checks pending in PROJECT-NOTES.md.
Do not push, deploy or claim that opening a mail link proves delivery.