--- url: "https://web.dev/articles/codelab-building-a-sidenav-component" titulek: "Codelab: Building a Sidenav component | Articles | web.dev" h1: "Codelab: Building a Sidenav component Stay organized with collections Save and categorize content based on your preferences." popis: "Learn how to build a responsive slide out side navigation layout component." jazyk: "en" kanonicka: "https://web.dev/articles/codelab-building-a-sidenav-component" drobecky: ["Articles", "Codelab: Building a Sidenav component"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 02:41:54" znaku: 11562 slov: 1857 kodovani: "iso-8859-2" sha256: "8b0d3066547eb901a2d6785d5bd1a1a3c214e44af01f30caa6a8caecac4beb31" --- Codelab: Building a Sidenav component Stay organized with collections Save and categorize content based on your preferences. Adam Argyle This codelab teaches you how to build a responsive slide out side navigation layout component on the web. We'll build the component as we go, starting with HTML, then CSS, then JavaScript. Check out my blog post [Building a Sidenav component](/articles/building/a-sidenav-component) to learn about the CSS web platform features chosen for building this component. Setup Click **Remix to Edit** to make the project editable. Open `app/index.html`. HTML First, get the essentials of the HTML setup so there's content and some boxes to work with. Drop the following HTML into the `` tag. `
` The `