Please i need help on step 6 learn css flexbox by Building a photo gallery

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
<head>
  <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">
</head>
<body>
  <div class="header">
    <h1>CSS FLEXBOX PHOTO GALLERY</h1>
  </div>
  <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=""/>
    <img src=""/>
    <img src=""/>
    <img src=""/>
    <img src=""/>
    <img src=""/>
    <img src=""/>
    <img src=""/>
  </div>
</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.0.0 Safari/537.36

Challenge: Step 6

Link to the challenge:

the src attribute should have the url appending each url in the end with number starting from 1

HI, @uchebest053

you’re doing great, just continue declaring your img element’s src attribute, like you did for the first two.

I got it, thanks for the insight.

Thanks , I really appreciate your response, it really boost my morale, i have gotten it

1 Like