Learn CSS Flexbox by Building a Photo Gallery - Step 2

i don’t know what i am doing wrong can anyone help me?

Your code so far

<!-- file: index.html -->

<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta content"width=device-width, initial-scale=1.0" name="viewport">
    <meta charset="UTF-8">
  </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/122.0.0.0 Safari/537.36 Edg/122.0.0.0

Challenge Information:

Learn CSS Flexbox by Building a Photo Gallery - Step 2

add a meta tag with the name set to viewport and the content set to width=device-width, initial-scale=1

you have the name attribute, good!

the content attribute is missing a small thing tho

1 Like

Hi @donnyl5 .
Welcome to FCC community.

Put equal to between content attribute and its value meaning before "width=device-width, initial-scale=1.0"
Just like you did after name attribute.

Let us if this resolves it.

:+1: Happy coding.

it worked!! thank you

1 Like

Your name attribute and value should be comes before content attribute and it’s value.
And your content attribute is missing = equal sign after it.

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