Runtyme
All practice problems

Frontend Engineering · HTML & CSS · Warm-up

HTML & CSS practice: The Hero Section

The launch headline whispers. It should shout. The headline must say “Kashmiri Kahwa, delivered hot”. At least 40px. Centred. Like a movie poster.

The problem

  • The headline must say “Kashmiri Kahwa, delivered hot”.
  • At least 40px. Centred. Like a movie poster.
  • Must pass: Headline says “Kashmiri Kahwa, delivered hot”.
  • Must pass: Headline is at least 40px.
  • Must pass: Headline is centred.

You'll use: HTML · CSS · Accessibility · Responsive design · Forms

Solve it (expert level)3–6 min · You write HTML & CSS
Show a hint

Change the text to “Kashmiri Kahwa, delivered hot” and make it an <h1>.

What this teaches (spoiler)

The main heading should be a real <h1>: it gives the page structure for screen readers and search engines.

Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.