Files
agila-learning-examples/en/expanded-8-1/lesson-2/lesson.html
T

5 lines
1.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html><html lang="en"><meta charset="utf-8"><title>Style without breaking readability</title><h1>Style without breaking readability</h1><p>15-minute session: read for 3 minutes, trace for 3, experiment for 7, and complete the check for 2. Spend longer whenever you need.</p><p>CSS selectors choose elements and declarations change their presentation. Predict what changing padding does to the card’s interior. Compare it with margin outside the border. Resize the preview and keep text readable without horizontal scrolling. Test keyboard focus on the button. Color alone must not communicate a pass or failure.</p><pre><code class="language-web">&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;&lt;meta charset=&quot;utf-8&quot;&gt;&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1&quot;&gt;
&lt;title&gt;Agila study&lt;/title&gt;
&lt;style&gt;body{font:1.1rem system-ui;margin:2rem;background:#f4f2fb;color:#21143e} main{max-width:40rem;margin:auto;padding:1.5rem;background:white;border:2px solid #56329a;border-radius:12px}button{padding:1rem}&lt;/style&gt;
&lt;main&gt;&lt;h1&gt;My study plan&lt;/h1&gt;&lt;p&gt;Resize the preview. Keep this text readable.&lt;/p&gt;&lt;button&gt;Start&lt;/button&gt;&lt;/main&gt;&lt;/html&gt;</code></pre><h3>Practice and evidence</h3><p>Keep three notes: your prediction, the actual result, and why they match or differ. The completion check grades understanding; the practice task builds skill.</p></html>