Challenge https://www.freecodecamp.org/learn/2022/responsive-web-design/#learn-css-flexbox-by-building-a-photo-gallery

Tell us what’s happening:
Describe your issue in detail here. :face_with_monocle:
hello i’m stuck on step 2 on the challenge building a photo gallery
here is the mistake i didn’t understand

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
<head>
  <meta viewport="device-width, 1"> 
  <meta charset="UTF-8">
</head>
<body>
</body>
</html>
/* 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/102.0.5005.115 Safari/537.36

Challenge: Step 2

Hint

One meta element should have a name set to viewport, and content set to width=device-width, initial-scale=1.0.
Link to the challenge:

You missed a few things from the instructions:

  • "with the name set to viewport" - You don’t have a name attribute set to “viewport”
  • "content set to width=device-width, initial-scale=1" - You don’t have a content attribute set to “width=device-width, initial-scale=1”
  • You added a viewport attribute but were not asked to, so remove that.

hello i did a research on google and find a solution but thanks for your help sir it’s the first time i use this and i was lost a little bit thank you i corrected myself :pray: :+1:

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