Huurbaken website — Marstark 24-Hour Build Challenge (bilingual NL/EN)

This commit is contained in:
2026-12-06 06:24:38 +06:00
commit 124289e742
7 changed files with 1697 additions and 0 deletions
+103
View File
@@ -0,0 +1,103 @@
# Huurbaken — Verkoop uw verhuurde pand direct
A fictional German company that buys rented homes and buildings directly from
their owners. Property owners leave their details and receive a fair,
non-binding offer within 48 hours — no viewings, no estate-agent fees, and
the tenants simply stay.
> **Fictional demo website — test data.** Huurbaken is a fictional company.
> This website was created for the **Marstark Senior Web Developer —
> AI-Native Builder 24-Hour Build Challenge**. All content, names, figures and
> quotes are fictional test data written for this challenge. Nothing here is
> copied from any existing website or company.
## How to run
No build step, no backend. Just open `index.html` in a browser, or serve the
folder statically, e.g.:
```bash
python3 -m http.server 8000
# then open http://localhost:8000
```
## Tech stack
- Plain HTML + CSS + JavaScript (static site, zero dependencies at runtime)
- Google Fonts (loaded from CDN): Fraunces + Inter
- Photography: Unsplash (direct `images.unsplash.com` URLs, with fallback
images if one fails to load)
- No frameworks, no build tools, no backend
## Files
| File | What it is |
| --- | --- |
| `index.html` | Single-page site: hero, how it works, why Huurbaken, property types, value teaser, testimonials, FAQ, lead form, footer |
| `styles.css` | All styling, responsive breakpoints (480px / 768px / 1020px) |
| `script.js` | NL/EN language switcher with full dictionaries, mobile menu, FAQ accordion, form validation + success state |
| `logo.svg` | Original Huurbaken logo (house + beacon mark + wordmark) |
| `favicon.svg` | Simplified logo mark for browsers/tabs |
| `favicon.png` | PNG version of the favicon mark (local file — the site itself uses `favicon.svg`) |
| `README.md` | This file |
## Features
- **Bilingual NL / EN with a working language switch** (NL | EN in the header).
Default language is Dutch. Every visible string switches — navigation, hero,
sections, form labels and placeholders, buttons, FAQ, footer, and the
document title. The choice is remembered in `localStorage`.
- **Fully responsive** — phone, tablet and desktop layouts, with a working
mobile menu.
- **Lead form** (name, email, phone, property type, city/address, monthly
rent optional, message) with client-side validation and a success state in
the active language. Demo form: no data is sent or stored.
- **FAQ accordion**, smooth scrolling, semantic HTML, keyboard-accessible
controls.
## Brand identity
The name **Huurbaken** combines the Dutch words *huur* (rent) and *baken*
(beacon): a beacon for owners of rented property. The logo is a house with a
golden beacon light above the roof — guidance and certainty for owners who
want to sell.
### Logo
- `logo.svg` — full lock-up: house + beacon mark with the “Huurbaken”
wordmark (Fraunces Bold).
- `favicon.svg` / `favicon.png` — simplified mark: the house and beacon on a
deep-green rounded square.
### Colors
| Name | Hex | Use |
| --- | --- | --- |
| Deep Green | `#0E3B2E` | Primary — headings, header, footer, buttons (hover) |
| Green 2 | `#14503F` | Secondary green — links, accents |
| Dark Green | `#0A2E24` | Footer background |
| Cream | `#F7F3EC` | Page background |
| Sand | `#EFE7D8` | Tinted sections, badges |
| Sand 2 | `#E6DCC8` | Image placeholders, borders |
| Gold / Amber | `#C9A227` | Accent — primary CTA buttons, beacon, highlights |
| Gold dark | `#B08D1E` | CTA hover, eyebrow text |
| Ink | `#1C2420` | Body text |
| Muted | `#5B6B62` | Secondary text |
| Line | `#DDD5C3` | Borders |
| Error | `#B3261E` | Form validation |
### Fonts
- **Fraunces** (Google Fonts, weights 500/600/700) — display serif for
headings, the logo wordmark and quotes.
- **Inter** (Google Fonts, weights 400/500/600/700) — body text, navigation,
forms and UI.
## Content note
All copy is original and written for this challenge in Dutch and English.
Testimonials use clearly fictional names and are labelled as test data; the
value-indication table is labelled as fictional example figures. Contact
email shown on the site is `contact@huurbaken.example` (the `.example`
domain is reserved for documentation, so it cannot belong to a real company).
No real addresses or phone numbers appear anywhere on the site.