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.Ext.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 class="gallery" img src="1" img src="2"/>
  </body>
</html>
    
/* file: styles.Ext.css */

<!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 class="gallery" img src="1" img src="2"/>
  </body>
</html>
    

Your mobile information:

Pixel 5a - Android 14 - Android SDK 34

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to 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 you say, the more we can help!

Welcome to the forum @yokoshima.zen

You seem to have added some code for attributes to the div element.

The instructions are asking you to nest img elements within the element.

Please reset the step and try again.

Happy coding

Welcome to the FFC forum. You need to add img element in the . gallery class div…
@yokoshima.zen

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