Stylesheet css issues

please how will i link to styles.css.
read the question: Now you need to link the styles.css file so the styles will be applied again. Nest a self-closing link element in the head element. Give it a rel attribute value stylesheet , a type attribute value of text/css , and an href attribute value of styles.css .
then, here is the codes i have written:

<head>
    <a href="style.css" rel="stylesheet" type="text/css"
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
  </head>e or paste code here

please put me through here because i don’t understand

Hi!
Check your href value. You are missing a letter from it and that is making the link not work.

its still not working

type <head>
    <a href="styles.css" rel="stylesheet" type="text/css"
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
  </head>or paste code here

On second inspection,

Head links are not the same as the anchor element. You should use <link>, not <a>.
Also you have not closed your link element. Close it at the end like this />

The code should pass after this, but in future please link to the lesson you are stuck on, it makes it easier to help.

wow! it has worked. Thanks Ella.

1 Like

please is there any selector the body uses than this

<body></body>

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