Learn Basic CSS by Building a Cafe Menu - Step 16

Tell us what’s happening:
I don’t see the problem with my code, and apparently i’m not the only one who got this bug. any help ?

Thank you very much

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head> 
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <link rel:"stylesheet" href:"styles.css">
  </head>
  <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/108.0.0.0 Safari/537.36

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

Link to the challenge:

You have an issue with your href and rel assignments

Yep, the color doesn’t change, and whatever I do nothing changes. I tried on another browser (chrome and IE), on private navigation and still the same.

href and rel use = not :

1 Like

Thank you, I’m not awake enough today it seems sips more coffee

within the head element, rel:"stylesheet" href:"styles.css".
rel and href don’t use :, they use =, as in href= not href:

1 Like

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