Travel Booking Platform
Build a responsive travel booking platform with destination search, accommodation cards, filters, and booking interactions.
Design Specifications & Previews
Review the design targets for desktop and mobile devices.
Challenge User Stories & Acceptance Criteria
## Challenge brief
Build a responsive travel booking platform with destination search, accommodation cards, filters, and booking interactions.
Recreate the supplied Stitch design as accurately as possible.
## Requirements
- Match the visual hierarchy, spacing, typography, colors, borders, and component states in the reference.
- Build responsive desktop and mobile layouts.
- Use semantic HTML.
- Keep all interactive controls keyboard accessible.
- Add visible focus states and appropriate ARIA attributes where needed.
- Use vanilla JavaScript for required interactions.
- Preserve the product identity shown in the supplied design rather than replacing it with a different layout.
## Submission
- Live deployment URL
- Source repository URL
- Short implementation notes
Recommended Implementation Steps
Community Solutions & Code Reviews
Explore solutions submitted by fellow engineers, inspect live demos, and check out GitHub repositories.
Be the first to submit a solution!
Complete this challenge, submit your live deployment and GitHub repo, and claim +300 XP!
Sign In to SubmitStarter Code Scaffold
Initial starter structure and scaffolding to kickstart your development.
Basic starter files
Scaffold + README + starter HTML/CSS/JS. Registration required.
Complete design & asset pack
Desktop/mobile references, icons, design tokens, style guide, and full brief.
<!--
SYNTAXIS_CHALLENGE
slug: travel-booking
title: Travel Booking Platform
difficulty: advanced
technologies: HTML, CSS, JavaScript
suggested_tier: PRO
description: Build a responsive travel booking platform with destination search, accommodation cards, filters, and booking interactions.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Aura Journeys — Curated Travel & Stays</title>
<link href="css/styles.css" rel="stylesheet"/></head>
<body>
<!-- Site Navigation -->
<header class="site-header">
<div class="container nav-wrapper">
<a aria-label="Aura Journeys Home" class="brand" href="#">
<div class="brand-mark">
<svg fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="24">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"></path>
</svg>
</div>
<div class="brand-text">
<h1>AURA</h1>
<span>Curated Journeys</span>
</div>
</a>
<ul class="nav-links">
<li><a class="nav-link active" href="#destinations">Destinations</a></li>
<li><a class="nav-link" href="#stays">Sanctuaries</a></li>
<li><a class="nav-link" href="#experiences">Private Journeys</a></li>
<li><a class="nav-link" href="#journal">The Journal</a></li>
</ul>
<div class="nav-actions">
<button aria-label="View Saved Stays" class="btn-icon" id="wishlist-btn" title="View Wishlist">
<svg fill="none" height="20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
<span class="wishlist-count-badge" id="wishlist-badge">2</span>
</button>
<a class="btn-primary" href="#stays">Reserve Retreat</a>
<button aria-label="Open Navigation" class="mobile-menu-toggle" id="mobile-toggle">
<svg fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="24">
<line x1="3" x2="21" y1="12" y2="12"></line>
<line x1="3" x2="21" y1="6" y2="6"></line>
<line x1="3" x2="21" y1="18" y2="18"></line>
</svg>
</button>
</div>
</div>
</header>
<main>
<!-- Hero Section -->
<section class="hero">
<div class="container">
<div class="hero-grid">
<div class="hero-content">
<div class="hero-tag">
<svg fill="currentColor" height="12" viewbox="0 0 24 24" width="12">
<circle cx="12" cy="12" r="10"></circle>
</svg>
Winter & Spring Escapes 2025
</div>
<h2 class="hero-title">Wander beyond <em>the ordinary</em> horizon.</h2>
<p class="hero-subtitle">
Hand-selected architectural villas, remote alpine chalets, and secluded coastal pavilions designed for mindful explorers who value silence, aesthetics, and rare landscapes.
</p>
<div class="hero-meta-stats">
<div class="stat-item">
<h3>140+</h3>
<p>Private Sanctuaries</p>
</div>
<div class="stat-item">
<h3>28</h3>
<p>Pristine Regions</p>
</div>
<div class="stat-item">
<h3>99.4%</h3>
<p>Verified Satisfaction</p>
</div>
</div>
</div>
<div class="hero-artwork">
<div class="hero-illustration-card">
<!-- Inline SVG Editorial Artwork for Hero -->
<svg fill="none" viewbox="0 0 600 440" xmlns="http://www.w3.org/2000/svg">
<defs>
<lineargradient id="skyGrad" x1="0" x2="0" y1="0" y2="1">
<stop offset="0%" stop-color="#E7D8C8"></stop>
<stop offset="50%" stop-color="#F2EAE1"></stop>
<stop offset="100%" stop-color="#FDFBF9"></stop>
</lineargradient>
<lineargradient id="mountain1" x1="0" x2="1" y1="0" y2="1">
<stop offset="0%" stop-color="#4F6761"></stop>
<stop offset="100%" stop-color="#2D3E3A"></stop>
</lineargradient>
<lineargradient id="mountain2" x1="0" x2="0" y1="0" y2="1">
<stop offset="0%" stop-color="#8DA19C"></stop>
<stop offset="100%" stop-color="#556F68"></stop>
</lineargradient>
<lineargradient id="sunGrad" x1="0" x2="0" y1="0" y2="1">
<stop offset="0%" stop-color="#E99C64"></stop>
<stop offset="100%" stop-color="#DB7C48"></stop>
</lineargradient>
<lineargradient id="lakeGrad" x1="0" x2="0" y1="0" y2="1">
<stop offset="0%" stop-color="#C2D1CF"></stop>
<stop offset="100%" stop-color="#8FA8A2"></stop>
</lineargradient>
</defs>
<rect fill="url(#skyGrad)" height="440" width="600"></rect>
<!-- Sun -->
<circle cx="430" cy="150" fill="url(#sunGrad)" opacity="0.85" r="54"></circle>
<!-- Distant ridge -->
<path d="M0 240L140 180L310 230L450 160L600 240V440H0V240Z" fill="url(#mountain2)" opacity="0.4"></path>
<!-- Mid ridge -->
<path d="M0 280L180 200L340 260L490 190L600 270V440H0V280Z" fill="url(#mountain1)"></path>
<!-- Architecture pavilion -->
<rect fill="#EFE8DF" height="70" rx="3" width="160" x="230" y="240"></rect>
<rect fill="#222524" height="8" rx="2" width="180" x="220" y="235"></rect>
<rect fill="#4B6560" height="55" opacity="0.4" width="30" x="250" y="255"></rect>
<rect fill="#4B6560" height="55" opacity="0.4" width="30" x="290" y="255"></rect>
<rect fill="#4B6560" height="55" opacity="0.7" width="45" x="330" y="255"></rect>
<line stroke="#C78A58" stroke-width="3" x1="220" x2="400" y1="310" y2="310"></line>
<!-- Water reflections -->
<path d="M0 340C150 330 350 345 600 335V440H0V340Z" fill="url(#lakeGrad)"></path>
<ellipse cx="300" cy="380" fill="#FFFFFF" opacity="0.3" rx="90" ry="4"></ellipse>
<ellipse cx="420" cy="405" fill="#FFFFFF" opacity="0.2" rx="60" ry="3"></ellipse>
<!-- Foliage foreground silhouette -->
<path d="M-20 440C20 370 70 360 110 440H-20Z" fill="#1A2825"></path>
<path d="M500 440C540 380 580 390 620 440H500Z" fill="#1A2825"></path>
</svg>
<div class="hero-badge-float">
<div class="hero-badge-avatar">
<svg fill="none" height="22" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="22">
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
</svg>
</div>
<div>
<div class="hero-badge-title">Villa Nómada, Oaxaca</div>
<div class="hero-badge-desc">Reserved for 4 nights • Architect Curated</div>
</div>
</div>
</div>
</div>
</div>
<!-- Integrated Search Module -->
<div class="search-module-wrap">
<form class="search-bar-card" id="search-form">
<!-- Location -->
<div class="search-field">
<span class="search-label">Location / Region</span>
<div class="search-input-mock">
<svg fill="none" height="18" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="18">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
<input id="input-location" placeholder="Where do you crave quiet?" type="text" value="Dolomites, Italy"/>
</div>
</div>
<!-- Check-in -->
<div class="search-field">
<span class="search-label">Check-in</span>
<div class="search-input-mock">
<svg fill="none" height="18" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="18">
<rect height="18" rx="2" ry="2" width="18" x="3" y="4"></rect>
<line x1="16" x2="16" y1="2" y2="6"></line>
<line x1="8" x2="8" y1="2" y2="6"></line>
<line x1="3" x2="21" y1="10" y2="10"></line>
</svg>
<input id="input-checkin" type="date" value="2025-05-14"/>
</div>
</div>
<!-- Check-out -->
<div class="search-field">
<span class="search-label">Check-out</span>
<div class="search-input-mock">
<svg fill="none" height="18" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="18">
<rect height="18" rx="2" ry="2" width="18" x="3" y="4"></rect>
<line x1="16" x2="16" y1="2" y2="6"></line>
<line x1="8" x2="8" y1="2" y2="6"></line>
<line x1="3" x2="21" y1="10" y2="10"></line>
</svg>
<input id="input-checkout" type="date" value="2025-05-20"/>
</div>
</div>
<!-- Guests Stepper Toggle -->
<div class="search-field" id="guest-field-trigger">
<span class="search-label">Guests & Rooms</span>
<div class="search-input-mock">
<svg fill="none" height="18" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="18">
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="9" cy="7" r="4"></circle>
<path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
</svg>
<span id="guest-display-text">2 Adults, 1 Suite</span>
</div>
<!-- Guest Popover -->
<div class="guest-popover" id="guest-popover">
<div class="guest-row">
<div>
<div class="guest-type-name">Adults</div>
<div class="guest-type-sub">Ages 13 or above</div>
</div>
<div class="guest-counter">
<button class="counter-btn" type="button">-</button>
<span class="counter-val" id="cnt-adults">2</span>
<button class="counter-btn" type="button">+</button>
</div>
</div>
<div class="guest-row">
<div>
<div class="guest-type-name">Children</div>
<div class="guest-type-sub">Ages 2–12</div>
</div>
<div class="guest-counter">
<button class="counter-btn" type="button">-</button>
<span class="counter-val" id="cnt-children">0</span>
<button class="counter-btn" type="button">+</button>
</div>
</div>
<div class="guest-row">
<div>
<div class="guest-type-name">Suites</div>
<div class="guest-type-sub">Private pavilions</div>
</div>
<div class="guest-counter">
<button class="counter-btn" type="button">-</button>
<span class="counter-val" id="cnt-suites">1</span>
<button class="counter-btn" type="button">+</button>
</div>
</div>
</div>
</div>
<button class="btn-search" type="submit">
<svg fill="none" height="20" stroke="currentColor" stroke-width="2.5" viewbox="0 0 24 24" width="20">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" x2="16.65" y1="21" y2="16.65"></line>
</svg>
<span>Explore</span>
</button>
</form>
</div>
</div>
</section>
<!-- Popular Destinations Carousel / Grid -->
<section class="destinations-section" id="destinations">
<div class="container">
<div class="section-head">
<div>
<div class="section-eyebrow">Geographic Havens</div>
<h3 class="section-title">Popular Destinations</h3>
</div>
<div class="category-pills" id="category-filter">
<button class="cat-pill active" data-category="all">All Sanctuaries</button>
<button class="cat-pill" data-category="alpine">Alpine Chalets</button>
<button class="cat-pill" data-category="coastal">Coastal Cliffs</button>
<button class="cat-pill" data-category="desert">Desert Solitude</button>
<button class="cat-pill" data-category="nordic">Nordic Glasshouse</button>
</div>
</div>
<div class="destinations-grid">
<!-- Dest 1 -->
<div class="dest-card">
<div class="dest-artwork">
<svg fill="none" viewbox="0 0 300 190" xmlns="http://www.w3.org/2000/svg">
<rect fill="#E8DDD3" height="190" width="300"></rect>
<path d="M0 130L90 60L160 110L240 40L300 100V190H0V130Z" fill="#3D504C"></path>
<path d="M60 190L150 120L210 160L300 90V190H60Z" fill="#2A3835"></path>
<circle cx="230" cy="50" fill="#E59866" opacity="0.9" r="22"></circle>
<rect fill="#788E88" height="35" width="300" x="0" y="155"></rect>
</svg>
</div>
<div class="dest-info">
<h4>Dolomite Ridges</h4>
<div class="dest-country">
<span>South Tyrol, Italy</span>
<span class="dest-tag">18 Stays</span>
</div>
</div>
</div>
<!-- Dest 2 -->
<div class="dest-card">
<div class="dest-artwork">
<svg fill="none" viewbox="0 0 300 190" xmlns="http://www.w3.org/2000/svg">
<rect fill="#EFE7DC" height="190" width="300"></rect>
<circle cx="150" cy="80" fill="#C75D4D" opacity="0.85" r="38"></circle>
<path d="M30 190L110 140L200 170L300 130V190H30Z" fill="#4B5653"></path>
<!-- Torii/pagoda silhouette lines -->
<rect fill="#222524" height="8" width="30" x="135" y="110"></rect>
<rect fill="#222524" height="35" width="5" x="140" y="118"></rect>
<rect fill="#222524" height="35" width="5" x="155" y="118"></rect>
</svg>
</div>
<div class="dest-info">
<h4>Arashiyama Forest</h4>
<div class="dest-country">
<span>Kyoto, Japan</span>
<span class="dest-tag">12 Stays</span>
</div>
</div>
</div>
<!-- Dest 3 -->
<div class="dest-card">
<div class="dest-artwork">
<svg fill="none" viewbox="0 0 300 190" xmlns="http://www.w3.org/2000/svg">
<rect fill="#DDEBF0" height="190" width="300"></rect>
<path d="M0 110C80 110 180 140 300 120V190H0V110Z" fill="#3B7080"></path>
<rect fill="#FFFFFF" height="35" rx="3" width="40" x="70" y="90"></rect>
<rect fill="#FFFFFF" height="25" rx="3" width="30" x="115" y="100"></rect>
<path d="M70 90C70 80 110 80 110 90H70Z" fill="#1C4B59"></path>
<circle cx="240" cy="50" fill="#F4B06F" r="18"></circle>
</svg>
</div>
<div class="dest-info">
<h4>Cycladic Shores</h4>
<div class="dest-country">
<span>Paros, Greece</span>
<span class="dest-tag">24 Stays</span>
</div>
</div>
</div>
<!-- Dest 4 -->
<div class="dest-card">
<div class="dest-artwork">
<svg fill="none" viewbox="0 0 300 190" xmlns="http://www.w3.org/2000/svg">
<rect fill="#F5E5D6" height="190" width="300"></rect>
<path d="M0 140L80 100L180 130L260 80L300 120V190H0V140Z" fill="#A85738"></path>
<path d="M40 190L130 130L210 170L300 110V190H40Z" fill="#75351E"></path>
<rect fill="#D49A74" height="25" width="300" x="0" y="165"></rect>
</svg>
</div>
<div class="dest-info">
<h4>Red Rock Canyon</h4>
<div class="dest-country">
<span>Sedona, Arizona</span>
<span class="dest-tag">9 Stays</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Curated Accommodations Section -->
<section class="stays-section" id="stays">
<div class="container">
<div class="section-head">
<div>
<div class="section-eyebrow">Architectural Excellence</div>
<h3 class="section-title">Recommended Stays</h3>
</div>
<p>
Strictly limited availability. Each residence includes private host concierge and carbon offset guarantee.
</p>
</div>
<div class="stays-grid" id="stays-container">
<!-- Card 1 -->
<article class="stay-card" data-category="alpine" data-id="stay-1" data-name="The Monolith Chalet" data-price="640">
<div class="stay-media">
<span class="badge-tier">Architectural Select</span>
<button aria-label="Toggle Wishlist" class="btn-wishlist active">
<svg fill="currentColor" height="20" viewbox="0 0 24 24" width="20">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</button>
<svg fill="none" viewbox="0 0 400 240" xmlns="http://www.w3.org/2000/svg">
<rect fill="#E4DCD3" height="240" width="400"></rect>
<path d="M0 160L120 70L240 140L350 50L400 90V240H0V160Z" fill="#384C48"></path>
<rect fill="#1C2725" height="90" width="140" x="130" y="110"></rect>
<rect fill="#F4EBE3" height="60" opacity="0.8" width="40" x="150" y="130"></rect>
<rect fill="#E99C64" height="35" opacity="0.9" width="50" x="200" y="130"></rect>
<line stroke="#C78A58" stroke-width="4" x1="120" x2="280" y1="200" y2="200"></line>
</svg>
</div>
<div class="stay-body">
<div class="stay-header-row">
<h4 class="stay-title">The Monolith Chalet</h4>
<div class="stay-rating">★ 4.98</div>
</div>
<div class="stay-loc">
<svg fill="none" height="14" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="14">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
</svg>
San Cassiano, Dolomites, Italy
</div>
<div class="amenities-list">
<span class="amenity-chip">Cedar Onsen</span>
<span class="amenity-chip">Mountain View</span>
<span class="amenity-chip">Private Chef</span>
<span class="amenity-chip">Fireplace</span>
</div>
<div class="stay-footer">
<div class="stay-price-wrap">
<span class="stay-price">$640</span>
<span class="stay-unit">per night • taxes incl.</span>
</div>
<button class="btn-book">Reserve Stay</button>
</div>
</div>
</article>
<!-- Card 2 -->
<article class="stay-card" data-category="coastal" data-id="stay-2" data-name="Kallisti Pavilion" data-price="820">
<div class="stay-media">
<span class="badge-tier">Rare Oceanfront</span>
<button aria-label="Toggle Wishlist" class="btn-wishlist active">
<svg fill="currentColor" height="20" viewbox="0 0 24 24" width="20">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</button>
<svg fill="none" viewbox="0 0 400 240" xmlns="http://www.w3.org/2000/svg">
<rect fill="#DFEEF2" height="240" width="400"></rect>
<circle cx="320" cy="70" fill="#E89659" r="30"></circle>
<path d="M0 130C120 120 250 150 400 130V240H0V130Z" fill="#285663"></path>
<rect fill="#FFFFFF" height="70" rx="4" width="130" x="80" y="90"></rect>
<rect fill="#4A7C8A" height="40" opacity="0.3" width="35" x="95" y="110"></rect>
<rect fill="#4A7C8A" height="40" opacity="0.3" width="55" x="140" y="110"></rect>
<line stroke="#222524" stroke-width="3" x1="70" x2="220" y1="160" y2="160"></line>
</svg>
</div>
<div class="stay-body">
<div class="stay-header-row">
<h4 class="stay-title">Kallisti Pavilion</h4>
<div class="stay-rating">★ 4.96</div>
</div>
<div class="stay-loc">
<svg fill="none" height="14" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="14">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
</svg>
Antiparos Island, Greece
</div>
<div class="amenities-list">
<span class="amenity-chip">Infinity Pool</span>
<span class="amenity-chip">Private Cove</span>
<span class="amenity-chip">Solar Powered</span>
<span class="amenity-chip">Helipad</span>
</div>
<div class="stay-footer">
<div class="stay-price-wrap">
<span class="stay-price">$820</span>
<span class="stay-unit">per night • taxes incl.</span>
</div>
<button class="btn-book">Reserve Stay</button>
</div>
</div>
</article>
<!-- Card 3 -->
<article class="stay-card" data-category="desert" data-id="stay-3" data-name="Mirage Ocotillo Estate" data-price="550">
<div class="stay-media">
<span class="badge-tier">Minimalist Desert</span>
<button aria-label="Toggle Wishlist" class="btn-wishlist">
<svg fill="none" height="20" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="20">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</button>
<svg fill="none" viewbox="0 0 400 240" xmlns="http://www.w3.org/2000/svg">
<rect fill="#F8EADB" height="240" width="400"></rect>
<path d="M0 160L90 120L190 150L280 110L400 150V240H0V160Z" fill="#B76547"></path>
<rect fill="#E8D2C0" height="50" rx="2" width="130" x="180" y="115"></rect>
<rect fill="#4B3026" height="35" opacity="0.5" width="40" x="200" y="125"></rect>
<line stroke="#75351E" stroke-width="3" x1="170" x2="320" y1="165" y2="165"></line>
<circle cx="100" cy="70" fill="#F3A879" opacity="0.8" r="28"></circle>
</svg>
</div>
<div class="stay-body">
<div class="stay-header-row">
<h4 class="stay-title">Mirage Ocotillo Estate</h4>
<div class="stay-rating">★ 4.92</div>
</div>
<div class="stay-loc">
<svg fill="none" height="14" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="14">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
</svg>
Joshua Tree Plateau, California
</div>
<div class="amenities-list">
<span class="amenity-chip">Stargazing Deck</span>
<span class="amenity-chip">Cold Plunge</span>
<span class="amenity-chip">Sound Bath</span>
<span class="amenity-chip">Off-Grid</span>
</div>
<div class="stay-footer">
<div class="stay-price-wrap">
<span class="stay-price">$550</span>
<span class="stay-unit">per night • taxes incl.</span>
</div>
<button class="btn-book">Reserve Stay</button>
</div>
</div>
</article>
<!-- Card 4 -->
<article class="stay-card" data-category="nordic" data-id="stay-4" data-name="Aasgard Glass Sanctuary" data-price="780">
<div class="stay-media">
<span class="badge-tier">Aurora Prime</span>
<button aria-label="Toggle Wishlist" class="btn-wishlist">
<svg fill="none" height="20" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="20">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</button>
<svg fill="none" viewbox="0 0 400 240" xmlns="http://www.w3.org/2000/svg">
<rect fill="#D3DEE5" height="240" width="400"></rect>
<!-- Aurora ribbon -->
<path d="M-20 60C120 20 240 100 420 50" opacity="0.6" stroke="#71CBB8" stroke-linecap="round" stroke-width="32"></path>
<path d="M0 160L160 90L280 150L400 110V240H0V160Z" fill="#25353C"></path>
<!-- Glass dome structure -->
<ellipse cx="200" cy="170" fill="#75A4B2" opacity="0.7" rx="55" ry="40"></ellipse>
<line stroke="#FFFFFF" stroke-width="2" x1="145" x2="255" y1="170" y2="170"></line>
<line stroke="#FFFFFF" stroke-width="2" x1="200" x2="200" y1="130" y2="170"></line>
</svg>
</div>
<div class="stay-body">
<div class="stay-header-row">
<h4 class="stay-title">Aasgard Glass Sanctuary</h4>
<div class="stay-rating">★ 4.99</div>
</div>
<div class="stay-loc">
<svg fill="none" height="14" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="14">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
</svg>
Tromsø Fjord, Norway
</div>
<div class="amenities-list">
<span class="amenity-chip">Aurora Roof</span>
<span class="amenity-chip">Geothermal Spa</span>
<span class="amenity-chip">Nordic Sauna</span>
<span class="amenity-chip">Private Kayaks</span>
</div>
<div class="stay-footer">
<div class="stay-price-wrap">
<span class="stay-price">$780</span>
<span class="stay-unit">per night • taxes incl.</span>
</div>
<button class="btn-book">Reserve Stay</button>
</div>
</div>
</article>
<!-- Card 5 -->
<article class="stay-card" data-category="alpine" data-id="stay-5" data-name="Engadin Stone Lodge" data-price="710">
<div class="stay-media">
<span class="badge-tier">Heritage Craft</span>
<button aria-label="Toggle Wishlist" class="btn-wishlist">
<svg fill="none" height="20" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="20">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</button>
<svg fill="none" viewbox="0 0 400 240" xmlns="http://www.w3.org/2000/svg">
<rect fill="#E8E2D8" height="240" width="400"></rect>
<path d="M0 150L140 80L280 160L400 100V240H0V150Z" fill="#445550"></path>
<rect fill="#2E3735" height="65" width="110" x="150" y="120"></rect>
<rect fill="#E5AA70" height="30" opacity="0.9" width="25" x="170" y="135"></rect>
<rect fill="#E5AA70" height="30" opacity="0.9" width="30" x="210" y="135"></rect>
</svg>
</div>
<div class="stay-body">
<div class="stay-header-row">
<h4 class="stay-title">Engadin Stone Lodge</h4>
<div class="stay-rating">★ 4.95</div>
</div>
<div class="stay-loc">
<svg fill="none" height="14" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="14">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
</svg>
St. Moritz Valley, Switzerland
</div>
<div class="amenities-list">
<span class="amenity-chip">Ski-in / Ski-out</span>
<span class="amenity-chip">Wine Cellar</span>
<span class="amenity-chip">Hammam</span>
<span class="amenity-chip">Firepit</span>
</div>
<div class="stay-footer">
<div class="stay-price-wrap">
<span class="stay-price">$710</span>
<span class="stay-unit">per night • taxes incl.</span>
</div>
<button class="btn-book">Reserve Stay</button>
</div>
</div>
</article>
<!-- Card 6 -->
<article class="stay-card" data-category="coastal" data-id="stay-6" data-name="Casa Cova Pacifica" data-price="590">
<div class="stay-media">
<span class="badge-tier">Tropical Modern</span>
<button aria-label="Toggle Wishlist" class="btn-wishlist">
<svg fill="none" height="20" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="20">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</button>
<svg fill="none" viewbox="0 0 400 240" xmlns="http://www.w3.org/2000/svg">
<rect fill="#E8ECE7" height="240" width="400"></rect>
<path d="M0 120C100 130 240 110 400 140V240H0V120Z" fill="#2E4C47"></path>
<rect fill="#D3B89E" height="60" rx="3" width="160" x="90" y="80"></rect>
<line stroke="#1F2F2C" stroke-width="4" x1="80" x2="260" y1="140" y2="140"></line>
<circle cx="70" cy="50" fill="#E28654" r="22"></circle>
</svg>
</div>
<div class="stay-body">
<div class="stay-header-row">
<h4 class="stay-title">Casa Cova Pacifica</h4>
<div class="stay-rating">★ 4.93</div>
</div>
<div class="stay-loc">
<svg fill="none" height="14" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="14">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
</svg>
Puerto Escondido, Mexico
</div>
<div class="amenities-list">
<span class="amenity-chip">Private Beach</span>
<span class="amenity-chip">Mescal Tasting</span>
<span class="amenity-chip">Lap Pool</span>
<span class="amenity-chip">Yoga Shala</span>
</div>
<div class="stay-footer">
<div class="stay-price-wrap">
<span class="stay-price">$590</span>
<span class="stay-unit">per night • taxes incl.</span>
</div>
<button class="btn-book">Reserve Stay</button>
</div>
</div>
</article>
</div>
</div>
</section>
</main>
<!-- Booking Drawer Overlay -->
<div class="drawer-overlay" id="drawer-overlay">
<div class="booking-drawer">
<div class="drawer-header">
<h3 class="drawer-title">Reservation Review</h3>
<button aria-label="Close Drawer" class="btn-close-drawer">✕</button>
</div>
<div class="drawer-stay-preview">
<div class="drawer-img-thumb">
<svg fill="none" height="32" stroke="currentColor" stroke-width="2" viewbox="0 0 24 24" width="32">
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
</svg>
</div>
<div>
<h4 id="drawer-stay-name">The Monolith Chalet</h4>
<p id="drawer-stay-loc">San Cassiano, Dolomites</p>
<span id="drawer-stay-feature">Cedar Onsen & Peak Views</span>
</div>
</div>
<div>
<h5>Selected Itinerary</h5>
<div>
<div>
<div>DATES</div>
<strong id="drawer-dates">May 14 – May 20, 2025</strong>
</div>
<div>
<div>GUESTS</div>
<strong id="drawer-guests">2 Guests • 1 Suite</strong>
</div>
</div>
</div>
<div>
<h5>Cost Breakdown</h5>
<div class="drawer-summary-item">
<span id="drawer-nights-calc">$640 × 6 nights</span>
<span id="drawer-subtotal">$3,840</span>
</div>
<div class="drawer-summary-item">
<span>Carbon offset & sanctuary fund</span>
<span>$120</span>
</div>
<div class="drawer-summary-item">
<span>Curated host concierge</span>
<span>Included</span>
</div>
<div class="drawer-summary-item total">
<span>Grand Total</span>
<span id="drawer-grand-total">$3,960</span>
</div>
</div>
<button class="btn-primary">
Confirm & Transmit Request
</button>
<p>
No upfront charge. Host confirms reservation within 4 hours.
</p>
</div>
</div>
<!-- Toast Notification -->
<div class="toast-notification" id="toast">
<svg fill="none" height="20" stroke="#68D391" stroke-width="2.5" viewbox="0 0 24 24" width="20">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
<span id="toast-text">Itinerary updated successfully</span>
</div>
<!-- Editorial Footer -->
<footer class="site-footer">
<div class="container">
<div class="footer-grid">
<div class="footer-brand">
<h3>AURA JOURNEYS</h3>
<p class="footer-desc">
An architectural expedition group creating sustainable, zero-impact sanctuaries across the globe. Powered by clean energy and native craft preservation.
</p>
</div>
<div class="footer-col">
<h5>Sanctuaries</h5>
<ul class="footer-links">
<li><a href="#">Alpine Pavilions</a></li>
<li><a href="#">Cycladic Terraces</a></li>
<li><a href="#">Nordic Aurora Suites</a></li>
<li><a href="#">Desert Habitats</a></li>
</ul>
</div>
<div class="footer-col">
<h5>Editorial</h5>
<ul class="footer-links">
<li><a href="#">The Monograph</a></li>
<li><a href="#">Architectural Profiles</a></li>
<li><a href="#">Conservation Atlas</a></li>
<li><a href="#">Private Air Charters</a></li>
</ul>
</div>
<div class="footer-col">
<h5>Curators</h5>
<ul class="footer-links">
<li><a href="#">Apply as Host</a></li>
<li><a href="#">Design Guidelines</a></li>
<li><a href="#">Press Inquiries</a></li>
<li><a href="#">Bespoke Requests</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<div>© 2025 Aura Journeys Inc. Built for Syntaxis Challenge 41.</div>
<div>All vector artwork & illustrations original inline SVG.</div>
</div>
</div>
</footer>
<script src="js/script.js"></script></body>
</html>
/* Syntaxis starter styles for: Travel Booking Platform
Recreate the supplied Stitch reference design.
The completed Stitch CSS is intentionally excluded from this learner starter.
*/
:root {
--font-serif: "Playfair Display", Georgia, serif;
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--color-bg: #FBF8F5;
--color-surface: #FFFFFF;
--color-primary: #1E2E2B;
--color-primary-light: #2A403C;
--color-accent: #C78A58;
--color-accent-soft: #F4EBE3;
--color-sand: #EFE8DF;
--color-sand-dark: #D7CBC0;
--color-text: #222524;
--color-text-muted: #6C726F;
--color-border: #E5DED4;
--color-danger: #D65A4A;
--shadow-sm: 0 2px 8px rgba(30, 46, 43, 0.05);
--shadow-md: 0 10px 30px rgba(30, 46, 43, 0.08);
--shadow-lg: 0 20px 45px rgba(30, 46, 43, 0.12);
--radius-sm: 8px;
--radius-md: 16px;
--radius-lg: 24px;
--radius-pill: 9999px;
--transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
* {
box-sizing: border-box;
}
html, body {
margin: 0;
min-height: 100%;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* TODO:
- Match the supplied reference design.
- Build responsive desktop and mobile states.
- Implement focus/hover/active/open/error/success states where required.
*/
// Syntaxis learner starter: travel-booking
// Build a responsive travel booking platform with destination search, accommodation cards, filters, and booking interactions.
document.addEventListener('DOMContentLoaded', () => {
console.info('Starter ready: travel-booking');
// TODO:
// Implement the interactions visible in the supplied Stitch reference
// using vanilla JavaScript.
});
Similar Coding Challenges
Profile Card Studio
Build a premium developer/social profile card with follower stats, interactive follow state, project metrics, and bespoke badge styling.
QR Payment Card
Create a modern payment request screen with animated countdown timer, interactive QR code, copyable invoice reference, and live status feedback.
Recipe Page
Create a beautiful food recipe page with warm editorial typography, custom dish illustration, interactive servings calculator, and nutritional table.