Learn Basic CSS by Building a Cafe Menu - Step 12

Tell us what’s happening:

what am i missing because i try everything but nothing works

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>

<!-- User Editable Region -->

     <style>
      h1 ,h2, p {
        text-align: center;
      }
    </style>

<!-- User Editable Region -->

  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Your browser information:

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

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 12

Hello, disable the dark mode ext. and it should pass, but you still need to change your code.

Hi there!

The instructions is asking to add selector for each one, you need three separate css rules for all three selectors

1 Like

but what is the new css rule because i did look everywhere and i tried everything but it doesn’t passed

Center the content of the h2 and the p elements by adding a new type selector for each one to the existing style element.

I would do this instead of modifying the CSS that was already written.

1 Like

just like i did the first one at step 11

1 Like

but if i do that it keeps saying dont make new styles

You need to add separate block for each element. Like you had the h1 selector before.

1 Like

got it thanks everyone

2 Likes

is it not a plan to bring it out in the languag from the netherlands because im dutch and i have problems sometimes with my english

Translation is ongoing, but we’re limited by the numbers of volunteers we have for any language.

yeah oke because my friend and me are dutch and are just helping one friend for his bad english

1 Like

if you want to help translate the curriculum to Dutch that would be great! could you be interested?

1 Like

yea i can do that for ou do you wanne mail me to my personal mail

1 Like

can you sent me a personal email.com so we can talk about it

you can read this article and feel out the form linked there: How to Help Translate freeCodeCamp into Your Native Language

you can also find more documentation on how to contribute here: Contribute to the freeCodeCamp Community | Contribute | freeCodeCamp.org

1 Like

i did every thing but my utc is +1 i could not fill it in so i filled in just utc

1 Like

feel free to reach out on discord if you have questions about the translation workflow, and also feel free to start on crowdin when you want.

This has come off topic here, so if you have more questions, you could open a topic in Contributors or ask on discord

1 Like