Ursprüngliche Arbeitsdatei
public/search-index.json
Code und funktionsfähige Beispielseiten behalten ihre ursprünglichen Bezeichner und Beispieltexte. Die Lektion und die Dateihinweise erklären sie in deiner Sprache.
[
{
"title": "Test one task before polishing",
"url": "blog/test-one-task.html",
"text": "A visitor task makes a design review concrete. Ask someone to find the contact link on your page. Watch where they look before explaining anything. If they cannot find it, first check the label, contrast and placement. A new animation does not necessarily address that failure. Change one thing, then ask another person to try the same task. Keep the task fixed so the comparison means something. "
},
{
"title": "Keep a working copy before a change",
"url": "blog/keep-a-working-copy.html",
"text": "A known working revision makes recovery possible. Before changing a working contact form, save the current revision with Git and record a successful test. Make the new change in a separate branch. Compare the preview against the same test before merging. If the release fails, recover the working revision and investigate in the branch. Recovery and finding the root cause are different jobs. "
},
{
"title": "Send a smaller image to a smaller screen",
"url": "blog/smaller-images.html",
"text": "Download size and display size are different. A photograph displayed at 400 pixels wide may still download as a 4000-pixel original. CSS width alone does not reduce that transfer. Export smaller sources and let the browser choose with srcset and sizes. Keep width and height attributes so space is reserved before download. Inspect the actual selected resource in developer tools at a fixed viewport and device pixel ratio. Compare bytes and appearance together. "
}
]