Learn Basic CSS by Building a Cafe Menu - Step 13 I'm stuck with the selector

Tell us what’s happening:
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 {}
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Safari/537.36

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.

While having multiple style elements is allowed in HTML, freecodecamp expects all your CSS to be together stacked on top of each other in the same style element. I also want you to look back at the question. What CSS property did they want you to give all those elements.

Happy Coding!

remove all this once

What do i do then? How do i put the selector

I am also unsure about the term “selector” - however the task is to align h2 and p in the same manner as h1 (within a single style element)

you just need one style element, go ahead and add a rule below h1 element to center h2 and p by doing the exact thing you did for h1

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