Learn CSS Flexbox by Building a Photo Gallery - Step 5

Tell us what’s happening:
i have a problem in my progam, I can’t fix my

element with nine element .:persevere:

  **Your code so far**
/* file: index.html */
<!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">
    <h1>css flexbox photo gallery</h1>
  </header>
  <div="gallery"value="9"type="image">

</body>
</html>
/* file: styles.css */

  **Your browser information:**

User Agent is: Edg/105.0.1343.33

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

Link to the challenge:

Hello there.

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

I think now you can heal me.

It helps if you describe what about the problem has you suck in more details.

I don’t see any img elements in your code?

This is not an img element.


what about this

Please post actual code instead of pictures.

image and img are different things.

Also, your div needs full opening and closing tags, each with < and >

Than you so much.
I totally forgot about that :joy:

1 Like

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