Booking sample
Ready. Changes update the preview automatically.
<div class="blue"> <header> <a class="brand" href="#stays">roam<span aria-hidden="true">.</span></a ><span>Find a stay. Make a memory.</span> <nav aria-label="Travel"> <a href="#stays">⌂ Stays</a><a href="#destinations">Destinations</a ><a href="#offers">Offers</a> </nav> </header> <section class="hero"> <span class="eyebrow">A change of scenery starts here</span> <h1>Your next good getaway.</h1> <p>From city weekends to slower mornings by the sea.</p> </section> </div> <main class="wrap"> <form class="search" id="search"> <label >Where are you going?<input id="destination" type="search" placeholder="Try Lisbon, Porto or Sintra" /></label ><label>Check-in<input id="checkin" type="date" required /></label ><label>Check-out<input id="checkout" type="date" required /></label ><label >Guests<select id="guests"> <option>2 adults</option> <option>1 adult</option> <option>3 adults</option> </select></label ><button>Search stays</button> </form> <div class="benefits"> <span>✓ Clear pricing, including taxes</span ><span>✓ Flexible sample stays</span ><span>✓ No real payment required</span> </div> <section class="offer row" id="offers"> <div> <span class="eyebrow">A little further for a little less</span> <h2>Make a weekend of it.</h2> <p> Explore three hand-picked stays, each with its own point of view. </p> </div> <a class="button" href="#stays">Explore stays →</a> </section> <section id="destinations"> <h2>Where will you go next?</h2> <p class="muted">A few places to inspire your next chapter.</p> <div class="grid destinations"> <article> <div class="art" role="img" aria-label="Illustrated coastal hills" ></div> <h3>Lisbon</h3> <p class="muted">Sunlit streets & ocean air</p> </article> <article> <div class="art" role="img" aria-label="Illustrated warm terracotta rooftops" ></div> <h3>Porto</h3> <p class="muted">Riverside walks & hidden corners</p> </article> <article> <div class="art" role="img" aria-label="Illustrated green woodland hills" ></div> <h3>Sintra</h3> <p class="muted">Forest trails & quiet retreats</p> </article> </div> </section> <section id="stays"> <div class="row results-heading"> <div> <h2>Find your kind of stay</h2> <span class="muted" id="result-count" >3 hand-picked properties</span > </div> <span class="tag">Prices per night · EUR</span> </div> <div class="grid"> <article class="stay" data-city="lisbon"> <div class="art" role="img" aria-label="Illustrated landscape for The Blue House" ></div> <div class="stay-content"> <h3>The Blue House</h3> <span class="muted">Lisbon · Guesthouse near the coast</span> <p class="rating">9.4 / 10 · Wonderful</p> <span class="terms" >Free cancellation until 48h before check-in.</span > <div class="price"> <strong>€120</strong> <span class="muted">/ night</span> </div> <span class="terms">Taxes included · Demo availability</span ><button data-stay="0">See availability →</button> </div> </article> <article class="stay" data-city="porto"> <div class="art" role="img" aria-label="Illustrated landscape for Riverside Rooms" ></div> <div class="stay-content"> <h3>Riverside Rooms</h3> <span class="muted">Porto · A small city hideaway</span> <p class="rating">9.1 / 10 · Wonderful</p> <span class="terms" >Free cancellation until 48h before check-in.</span > <div class="price"> <strong>€95</strong> <span class="muted">/ night</span> </div> <span class="terms">Taxes included · Demo availability</span ><button data-stay="1">See availability →</button> </div> </article> <article class="stay" data-city="sintra"> <div class="art" role="img" aria-label="Illustrated landscape for Forest & Fern" ></div> <div class="stay-content"> <h3>Forest & Fern</h3> <span class="muted">Sintra · A peaceful garden retreat</span> <p class="rating">9.6 / 10 · Exceptional</p> <span class="terms" >Free cancellation until 48h before check-in.</span > <div class="price"> <strong>€145</strong> <span class="muted">/ night</span> </div> <span class="terms">Taxes included · Demo availability</span ><button data-stay="2">See availability →</button> </div> </article> </div> <p id="no-results" hidden> No stays match that destination. Try Lisbon, Porto, Sintra, or clear your search. </p> </section> <p id="status" role="status" aria-live="polite"></p> </main> <dialog id="review" aria-labelledby="review-title"> <span class="eyebrow">Review your sample stay</span> <h2 id="review-title"></h2> <dl> <dt>Dates</dt> <dd id="review-dates"></dd> <dt>Guests</dt> <dd id="review-guests"></dd> <dt>Total, taxes included</dt> <dd id="review-price"></dd> </dl> <p class="terms"> Check-in from 15:00; check-out by 11:00, Europe/Lisbon time. Free cancellation until 48 hours before arrival. This demo makes no real reservation. </p> <div class="review-actions"> <button id="reserve">Confirm sample reservation</button ><button class="secondary" data-close>Change selection</button> </div> <p id="confirmation" role="status"></p> <button id="cancel-reservation" class="secondary" hidden> Cancel sample reservation </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 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
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 Booking