As per the instruction, I nest the link
element inside head
but the code checker seems unable to recognize the link
element.
The code entered is correct, and the output on the right verifies this, but I still get the error:
Test: Sorry, your code does not pass. Keep trying.
Hint: You should have one self-closing link element.
My code:
<head>
<meta charset="utf-8" />
<title>
Cafe Menu
</title>
<link rel="stylesheet" href="styles.css">
</head>
The entire screenshot. (The code seems to be working perfectly since the CSS is applied)
NOTE:
As per a similar issue on another thread, I tried a few steps (naively ofcourse) which all ended in failure.
What I tired?
- Changing
"
(double-quote) to'
(single-quote) - Change the order of
rel
&href
attributes - Change the placement of
link
insidehead
All those are naive steps, but all result in the same error, despite the output on the right showing the CSS applied.