Step 12 on css on web design

OMG!! I have no idea why :slight_smile:

blablablaa

Why does this don't work?
  **Your code so far**

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style>
  </style>
</head>
<body>
  <header>
  <h1 style="text-align:center;">CAMPER CAFE</h1>
  
    <p>Est. 2020</p>
  </header>
  <main>
    <section>
      <h2>Coffee</h2>
    </section>
  </main>
</body>
<html>
  **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.0 Safari/605.1.15

Challenge: Step 12

Link to the challenge:

So it looks like youโ€™ve come up with a different way of solving the problem. However, they want you to use code within <style> </style> to change the h1 element.

it will look like this:

<style>

h1 {
text-align: center;
}

</style>

1 Like

For some reason this isnโ€™t working for me even though it looks correct

this worked for me , thank you

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