Learn Basic CSS by Building a Cafe Menu - Step 15

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

I can’t figure out how to do a “styles.css” file in step 15 of “buiding a cafe menu”.
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 */
<h1></h1>
<h2></h2>
<p></p>

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

this is HTML element(random); such stuff we place in HTML file

<form></form>

This is CSS selector(also random), such things are usually placed in CSS files.

h3 {
  font-size: 24px;
}

You can find plenty examples of CSS files on the web also.