Перейти до основного вмісту
← 📄 HTML & the platform·Модуль A8 · Урок 5
ЗавданняBuild a 3-card pricing page. <main><h1>Pricing</h1><section aria-label='Plans'>: three <article> cards, each with <h2>plan name</h2>, <p>price</p>, <ul> of 3 features, <a class='cta' href='/signup?plan=NAME'>Choose</a>. Plans: Free $0, Pro $19/mo, Team $49/mo. Mark Pro as 'Most popular' via aria-label on its article.

Capstone 5: сторінка цін (повний абонемент Lighthouse)

250 XP16 min
Теорія

What we're building

A pricing page with 3 tier cards. The HTML must:

  • Have a single <h1> per page.
  • Use proper heading hierarchy inside cards (h1 → h2 per card → no h3 skips).
  • Be semantically grouped (each card is an <article>).
  • Include "Most popular" as ARIA-labeled emphasis, not just styling.
  • Have plain HTML CTAs that are real <a href> (not JS-only divs).

Schema.org has a Product + Offer type — perfect for pricing pages — but for capstone 5 we stop at the HTML/semantics and skip the JSON-LD (already done in capstone 4).

🔒

Зареєструйся щоб кодувати

Теорія відкрита всім. Інтерактивний редактор, живий перегляд і перевірка відкриваються з 7-денним безкоштовним trial — потрібна картка, скасування у будь-який час.

Реєстрація — безкоштовний trial →

Перші 10 уроків у кожному треку — безкоштовні. Картка не потрібна.

← НазадНаступний урок →

Отримуй одну пораду з Python чи вебу — щодня поштою

Коротко, без води, без спаму. Відписка — в один клік.