Learn Basic CSS by Building a Cafe Menu - Step 11

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>

<!-- User Editable Region -->


<h1>text-align: center ;</h1>
<element> {
    property: value;

<!-- User Editable Region -->

      <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/22.0 Chrome/111.0.5563.116 Safari/537.36

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

Link to the challenge:

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

This is not valid CSS syntax. The HTML style element allows you to write CSS directly within an HTML document. Everything within the style tags should be valid CSS code.

The syntax for a CSS style declaration is (as given in the challenge instructions):

element {
  property: value;

So, your element is h1, your property is text-align and your value is center. Using the above syntax, replace the corresponding words with the correct values.

I doing like that where the worng and thank you for reply

Sorry I hurried and threw it away

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