Learn Basic CSS by Building a Cafe Menu - Step 11

its telling me that I should have a h1 selector in my style

Your code so far

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

<!-- User Editable Region -->

      element {
        text-align: value="center;"

<!-- User Editable Region -->

      <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.6 Safari/605.1.15

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

Link to the challenge:

Delete the html tags for h1 and h2
Then replace the word element with h1
Then delete the word value
Delete the equal sign
Delete the double quotes

The final result will match the template shown to you in the step

thank you it worked. so is a h1 selector that squiggly sign and h1 together?

An h1 selector is the the name h1 and the matching parenthesis { and }

And inside the parenthesis you write properties that apply to the selected element.

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