How do I get past this please?

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>
   element {h1
    property: text-align;centre
    <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.5 Safari/605.1.15

Challenge: Step 12

Link to the challenge:

Your selector isn’t correct.

 element {h1
  property: text-align;centre

element and property are placeholder values used in the example. They need to be replaced with the correct values.

element {
 property: value;


p {
  color: red;

p is the element, color is the property, and red is the value

In your code, h1 is the element, text-align is the property, and centre is the value.

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