Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
som one help me

Your code so far

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

<!-- User Editable Region -->

    <style h1 {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/117.0.0.0 Safari/537.36

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

Link to the challenge:

Your CSS goes between the style tags, not within the opening tag.

Hope can be good not give want to give answer can try and help your html is good

For number 11 you are adding to css here and can be want to use style element like head element with other elements and class inside

erase h1 put that is inside the element tag should leave style element by self closed tag like head element and in between of style can add your html

is your start head element and can do same for is your end head element can do same for

this is given in number 11

element {
property: value;
}

here h1 is your element
text-align is your property
center is your value

try and erase where you put your h1 should not be in element tag should be in middle hope can help thank you take care gn gm fren

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