Learn CSS Flexbox by Building a Photo Gallery - Step 5

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

Your code so far

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

<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
  <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>
    <header class="header">
      <div class="gallery">
        <img>
        <img>
        <img>
        <img>
        <img>
        <img>
        <img>
        <img>
        <img>
      </div>
      <h1>css flexbox photo gallery</h1>
    </header>
  </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/109.0.0.0 Safari/537.36

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

1 Like

I’m new to the forum. I got an error. I found the solution to the problem in the forum. I forgot to write the error. Since I am a new member, I did not know how to edit. Thank you very much for your reply.

okay np. To edit, you can click the pencil icon on your post.
Happy coding.

1 Like