Learn Basic CSS by Building a Cafe Menu - Step 17

Tell us what’s happening:
Describe your issue in detail here.
It keeps saying that my link element needs to have a rel attribute with value stylesheet but i’m pretty sure i have it right

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <link rel:"stylesheet" href:"styles.css">
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
/* 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/103.0.5060.114 Safari/537.36 OPR/89.0.4447.64

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

Link to the challenge:

are you sure you are using the correct syntax to assign a value to an attribute? look aroung in the html code, there are a couple of examples of attributes with a value

i noticed that “stylesheet” and “styles.css” is in a purple color, when “utf-8” (which is a correct value) is in a red color but I’m not too sure how to fix it.


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