Call me crazy, but I think my link IS in my head element

Tell us what’s happening:
I’m trying to start this penguin with the boilerplate HTML code, but I think the freeCodeCamp tests aren’t working correctly. Or did I miss something completely basic on this (probably) 50th time I’ve written this code? :rofl:

I keep getting:


Your link element should be within your head element."

EDIT: I’ve tried this in both Chrome and Safari and I get the same issue. I’ve also cleared the cookies in Chrome with no change.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <link rel="stylesheet" href="styles.css" type="text/css">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>This Be the Title</title>
/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 1

Link to the challenge:

So I ended up using the code within step 2 and it got step 1 to work. I then CMD+Z’d back to my own code and it passed the test, which was strange. Not totally sure what was going on, but at least now I can make this sick penguin :metal:t2:

The test is apparently expecting a closing slash for the link element. I know we had an issue for this somewhere with some other challenge.

<link rel="stylesheet" href="styles.css" type="text/css" />

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