Learn Basic CSS by Building a Cafe Menu - Step 15

Tell us what’s happening:
Describe your issue in detail here.

Hello, how do I rewrite the style I have created into the style.css file? Here is what I did hi, h2, p{text-align:styles.css}.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
      h1, h2, p {
        text-align: center;
      }
    </style>
  </head>
  <body>
    <header>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
    </header>
    <main>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */
hi, h2, p{text-align:styles.css}

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: Learn Basic CSS by Building a Cafe Menu - Step 15

Link to the challenge:

styles.css is not a valid value for text-align, that’s just the name of the file

what value did you use before for text-align?

This is the value I used before the text-align h1, h2, p

does the exercise mention what you should be doing with the style tags?
(re-read perhaps?)

that’a the selector. The value for text-align is the one after the colon :