Learn CSS Transforms by Building a Penguin - Step 1

Hey everyone, I just started with this chapter and the error I’m getting is “Your link element should be within your head element”. I’m reading and re-reading my code but I can’t seem to find the error (the link tag is clearly inside the head tags). I’ve been doing these challenges for some hours now so maybe I should give it a rest for a while lol.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="style.css">
  <title>Penguin</title>
</head>
<body>
</body>
</html>
/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

Challenge: Learn CSS Transforms by Building a Penguin - Step 1

Link to the challenge:

I just realised I wrote ‘style.css’ instead of ‘styles.css’, however I keep getting the same error after fixing the filename.

try add slash at the end of self-closing tag

That was it, thank you!

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