Blog sample
Ready. Changes update the preview automatically.
<div class="masthead"> <header> <a class="brand" href="#latest" >margin<span aria-hidden="true">.</span></a > <nav aria-label="Journal"> <a href="#latest">The journal</a><a href="#newsletter">Letters</a ><span class="tag">Issue 08 / Autumn</span> </nav> </header> </div> <section class="hero"> <span class="eyebrow">An independent journal for curious minds</span> <h1>Good stories.<br />A different perspective.</h1> <p> On making things, noticing more, and finding a little meaning in the everyday. </p> <a class="button" href="#latest">Find your next read ↗</a> </section> <main class="wrap"> <article class="feature"> <div class="art" role="img" aria-label="Abstract sage hills beneath a pale sky" > <span>A slower kind<br />of Sunday.</span> </div> <div class="feature-copy"> <span class="eyebrow">Editor's letter · Living</span> <h2>The art of doing a little less.</h2> <p class="muted"> What happens when we stop filling every quiet moment? An invitation to leave a little room. </p> <p class="muted">By Alex Rivers · October 12 · 6 min read</p> <button data-read="0">Read the story ↗</button> </div> </article> <section id="latest"> <div class="row"> <h2>Fresh perspectives</h2> <span class="muted">A few things worth your time.</span> </div> <div class="topics" role="group" aria-label="Filter stories"> <button data-topic="all" aria-pressed="true">All stories</button ><button data-topic="Living" aria-pressed="false">Living</button ><button data-topic="Design" aria-pressed="false">Design</button ><button data-topic="Travel" aria-pressed="false">Travel</button> </div> <div class="grid"> <article class="story" data-category="Living"> <div class="art" role="img" aria-label="Layered sand and sage shapes" ></div> <p class="eyebrow">Living / 5 min</p> <h3>Make room for the ordinary.</h3> <p class="muted"> Small rituals that turn a familiar day into something worth remembering. </p> <p class="muted">Alex Rivers · October 10</p> <button data-read="1">Read story ↗</button> </article> <article class="story" data-category="Design"> <div class="art" role="img" aria-label="Sculptural lavender arches" ></div> <p class="eyebrow">Design / 4 min</p> <h3>Objects with a second life.</h3> <p class="muted"> A thoughtful approach to the things we choose to keep around us. </p> <p class="muted">Sam Ellis · October 8</p> <button data-read="2">Read story ↗</button> </article> <article class="story" data-category="Travel"> <div class="art" role="img" aria-label="Terracotta hills in warm afternoon light" ></div> <p class="eyebrow">Travel / 7 min</p> <h3>Take the long way home.</h3> <p class="muted"> A weekend without an itinerary, and the discoveries along the way. </p> <p class="muted">Robin Lane · October 4</p> <button data-read="3">Read story ↗</button> </article> </div> </section> <section class="subscribe" id="newsletter"> <div> <span class="eyebrow">A letter, not another notification</span> <h2>Stay a little curious.</h2> <p class="muted"> A monthly collection of stories and small discoveries. </p> </div> <form id="subscribe"> <label >Email address<input type="email" autocomplete="email" required placeholder="you@example.com" /></label ><button>Subscribe ↗</button> </form> </section> <p id="status" role="status" aria-live="polite"></p> </main> <dialog id="article" aria-labelledby="article-title"> <span class="eyebrow">Margin / The journal</span> <h2 id="article-title"></h2> <p id="article-copy"></p> <p class="muted"> An original sample story from the Margin editorial team. </p> <button data-close>Back to the journal</button> </dialog> <footer> UI Lexicon · Interactive learning sample. Fictional content; no real accounts, subscriptions, bookings, or payments. Changes reset on reload. </footer>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
Ln 1, Col 1 · Spaces: 2HTML · UTF-8
Tab moves between controls. Alt+Shift+F formats; Ctrl/Cmd+Enter runs. Edits stay in this tab until you export. Sample actions do not send data.
← Back to Blog