Learn Basic CSS by Building a Cafe Menu - Step 16

Tell us what’s happening:

Hello this code is not working even if i change line for the code in step 16 i have already reset and reloaded the page

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

  <head>
    <link rel:"stylesheet" href:"styles.css">
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
  </head>

<!-- User Editable Region -->

  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */
h1, h2, p {
  text-align: center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 16

Recall that html attributes are written with equal signs not colons.

Thanks that work for some reason i forgot about that part

2 Likes