StealThis .dev
Pages Medium

Cookbook — Modern Wellness / Clean Eating landing

An airy modern-wellness cookbook landing in a calm bone, matcha and terracotta palette, pairing a Fraunces serif headline with light Inter body type. A minimal hero with floating CSS-gradient food bowls leads into a values row, a balanced-recipe grid with nutrition highlights, a seven-day meal-plan teaser and serene testimonials. Vanilla JS adds gentle scroll-reveal, a diet-preference toggle that relabels featured recipes, smooth-scroll nav and toast-backed signup forms.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Modern Wellness / Clean Eating landing

A premium-minimal landing page for a clean-eating cookbook, built around calm whitespace and a bone, matcha and terracotta palette. The hero pairs an editorial Fraunces headline with light Inter body copy and a cluster of floating CSS-gradient “food bowls” — no images or libraries, just radial gradients and a few tasteful emoji accents that read as food photography. A values row, a balanced-recipe grid with per-dish nutrition (kcal, protein, fibre), a seven-day meal-plan teaser and quiet testimonials complete the page.

Everything is wired with vanilla JS. A diet-preference toggle (Balanced, Vegan, High protein, Lower carb) re-labels the featured recipe tags and updates an aria-live status line. Sections fade up via an IntersectionObserver scroll-reveal that respects prefers-reduced-motion, in-page nav links smooth-scroll and move focus for keyboard users, and the meal-plan and footer signup forms validate the email then confirm with a toast.

Accessibility and responsiveness are first-class: landmark roles, a skip link, visible focus rings, WCAG-AA contrast, a print stylesheet that isolates the recipe cards, and a layout that collapses gracefully from desktop down to ~360px.

Illustrative UI only — recipes & nutrition data are fictional, not dietary advice.