Preskoči na glavni sadržaj
← 📄 HTML & the platform·Modul A2 · Lekcija 12
ZadatakBuild a blog index. <header> with <h1>Anna's notes</h1> and a <nav aria-label='Primary'><ul><li>Home</li><li>About</li></ul></nav>. <main> with two <article> each containing <h2> title and <p> body. <aside> at body level with <h2>Recent</h2> and <ul>. <footer> with <nav aria-label='Footer'><ul><li>Privacy</li></ul></nav> and <p>© 2026</p>.

Završni kamen modula: ponovno izgradite stranicu div-juhe

200 XP14 min
Teorija

Putting A2 together

You've seen each semantic element in isolation. Now combine them into a complete page with five landmarks and proper heading hierarchy.

The page we're rebuilding

A "blog index" with:

  • Site header (logo + primary nav)
  • Main content area with two blog post articles
  • A sidebar listing recent posts
  • A site footer with secondary nav + copyright

Currently it's built as a 6-div soup that screen readers parse as one giant unstructured wall. Your job: rebuild it with semantic tags.

Lighthouse + axe checklist

After your refactor, the page should pass:

  • Exactly one `<h1>`
  • No heading-level skips
  • Each landmark (<nav>) labeled or unique
  • Articles wrap independently syndicatable content
🔒

Registriraj se i počni kodirati

Teorija je otvorena svima. Editor, pregled uživo i provjera otključavaju se s 7-dnevnim besplatnim probnim periodom — potrebna kartica, otkaži kad god.

Registracija — besplatan probni period →

Prvih 10 lekcija u svakom smjeru je besplatno. Bez kartice.

← PrethodnaSljedeća lekcija →

Jedan Python ili web savjet dnevno — emailom

Kratko, ručno pisano, bez spama. Odjavi se jednim klikom.