28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Kept fixture, the page after</title>
|
|
<meta name="description" content="A careless redesign: one link, one field, one handler, one test hook and one script hook are gone, and one heading is reworded.">
|
|
<style>
|
|
/* Hallmark · shape: fixture · genre: editorial · theme: fixture (by request) · redesign: full */
|
|
/* Hallmark · dropped mailto:desk@example.com · the desk address is retired and the form replaces it */
|
|
body { font-family: sans-serif; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<nav id="site-nav"><a href="#rates">Rates</a> <button id="menu-button" type="button">Menu</button></nav>
|
|
<h1>Rooms by the harbour</h1>
|
|
<h2 id="rates">What it costs</h2>
|
|
<p>From $120 a night. Breakfast until 10:30.</p>
|
|
<form action="https://example.com/api/book" method="post">
|
|
<input name="email" type="email">
|
|
<button type="submit">Book</button>
|
|
</form>
|
|
<script>
|
|
document.getElementById('nav-toggle').addEventListener('click', function () { document.querySelector('#site-nav').classList.toggle('is-open'); });
|
|
</script>
|
|
</body>
|
|
</html>
|