Learn Basic CSS by Building a Cafe Menu - Step 17

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

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<a href=style.css><head>
  <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/ Safari/537.36

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

Link to the challenge:

You must link your CSS sheet to this html code using a “link” element with a “a href” link to the stylesheet. you didn’t provide the " link" element there!

Please write the link element with the opening tag then use the anchor element.

I think I have a link element the href isn’t enough?

Your link element must be like this:

<link rel="your value here"

no need to close the tag, it is self closing

should i add both href and link elements?

Yes, as the instruction says both are needed.

<link rel="your value" href="your link" />

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