Learn CSS Flexbox by Building a Photo Gallery - Step 20

I couldn’t pass this last step, please help, what is query

   **Your code so far**
/* file: index.html */
<!DOCTYPE html>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title>Photo Gallery</title>
   <link rel="stylesheet" href="./styles.css">
   <div class="header">
   <div id="gallery">
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/1.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/2.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/3.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/4.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/5.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/6.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/7.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/8.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/9.jpg"/>
     <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/10.jpg"/>
/* file: styles.css */
* {
 box-sizing: border-box;

body {
 margin: 0;
 font-family: Arial;
 background: #EBE7E7;

.header {
 text-align: center;
 padding: 32px;
 background: #E0DDDD;

#gallery {
 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 padding: 0 4px;

#gallery img {
 width: 25%;
 height: 300px;
 object-fit: cover;
 margin-top: 8px;
 padding: 0 4px;
 border-radius: 10px;

#gallery-img {
   **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Learn CSS Flexbox by Building a Photo Gallery - Step 20

Link to the challenge:

Couple of syntax issues here.
You may wanna look at this article:

Also, I see you created two similar threads about this issue.
Try not to do that, it may be confusing for other members of community

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