Learn CSS Transforms by Building a Penguin - Step 1

I’m not able to pass with this code. What is the issue here?
One meta element should have a name set to viewport , and content set to width=device-width, initial-scale=1.0 .
Your code so far

<!DOCTYPE html>
<html lang='en'>
  <head>
    <title>Flappy Penguin</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width" initial-scale="1.0" />
    <link rel="stylesheet" href="styles.css"/>
  </head>
  <body></body>
</html>
<!-- file: index.html -->

<!-- User Editable Region -->

<!DOCTYPE html>
<html lang='en'>
  <head>
    <title>Flappy Penguin</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width" initial-scale="1.0" />
    <link rel="stylesheet" href="styles.css"/>
  </head>
  <body></body>
</html>

<!-- User Editable Region -->

/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

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

Link to the challenge:

As you said in your comment, the one meta should have a name set to viewport , and content set to width=device-width, initial-scale=1.0:

<meta attribute1="value1" attribute2="value2">

‘name’ is the attribute1,
“viewport” is its value,
‘content’ is the attribute2,
“width=device-width, initial-scale=1.0” is its value.

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