Learn Basic CSS by Building a Cafe Menu - Step 14

** I don’t know how to pass this challenge.**
Describe your issue in detail here.

  **Your code so far**
<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
    h1 {
      text-align: center;
    h2 {
      text-align: center;
    p {
      text-align: center;
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 14

Link to the challenge:

Hey, as I understood the challenge issue is with selectors. You should select h1, h2 and p with one selector and center the text. Right now you are selecting h1, h2 and p individually . Look at the code in step 14 and selector(text before { … }).

  1. Delete the 3 existing “type selectors”

  2. Replace them with 1 “selector list” for the h1, h2, and p elements.

You have 3 stanzas, make it 1 stanza with the power of the comma - as the instructions elucidate.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.