Learn Basic CSS by Building a Cafe Menu - Step 13

Tell us what’s happening:
Step 13 asks to centre the h2 and p elements, and I’ve done that, but every time I run my code, I get this error: You should add a new h2 selector.

  **Your code so far**
<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
    h1 {
      text-align: center;

    p {
      text-align: center;

    h2 {
      text-align: center;
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15

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

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

You should only have one style element with three CSS rules inside

Oh! Makes sense, thanks.

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