# Help! I want a grid tile lay out with flexbox

**URL:** <https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [February 9, 2021, 7:57am UTC](https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252 "2021-02-09T07:57:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![miriam098](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@miriam098](https://forum.freecodecamp.org/u/miriam098)\
**Post date:** [February 9, 2021, 7:57am UTC](https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252/1 "2021-02-09T07:57:40Z")

</div>

Hello everyone, I’m trying to have my project-tiles to be responsive and to display in rows not in column and also container to be 100vh and when i scroll down I can see the other content.

How can I achieve that please?

[https://codepen.io/miriam-jinx-olivier/pen/dyOXRNd?editors=1100](https://codepen.io/miriam-jinx-olivier/pen/dyOXRNd?editors=1100)

---

<div class="post-metadata">

**Author:** ![miku86](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/miku86/32/95580_2.png) [@miku86](https://forum.freecodecamp.org/u/miku86)\
**Post date:** [February 9, 2021, 8:41am UTC](https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252/2 "2021-02-09T08:41:01Z")

</div>

Hey Miriam,

first of all I would split your issue into simple tasks:

- make container 100vh
- make container scrollable
- display container items in rows

Currently, your container is a little bit messed up, because you have `project-tile` in another `project-tile`.

I would do something like this:

```auto
container
|-- item
|-- item
|-- item

```

So all your items should live in the container. And each item has its content, e.g. image, text.

---

<div class="post-metadata">

**Author:** ![miriam098](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@miriam098](https://forum.freecodecamp.org/u/miriam098)\
**Post date:** [February 9, 2021, 8:52am UTC](https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252/3 "2021-02-09T08:52:23Z")

</div>

Omw I got it right! I forgot to put closing div tags on the project tiles, thank you so much… I have been struggling since 7am with this… sometimes all one need is a pair of fresh eyes lol thank you @miku86 😆

---

<div class="post-metadata">

**Author:** ![miku86](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/miku86/32/95580_2.png) [@miku86](https://forum.freecodecamp.org/u/miku86)\
**Post date:** [February 10, 2021, 8:12am UTC](https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252/4 "2021-02-10T08:12:27Z")

</div>

One addition:

I just was able to see this because I used the `Format HTML` function.

![2021-02-10_09-11](https://global.discourse-cdn.com/freecodecamp/original/3X/d/4/d4586e5b0340cc713f8ebdc402effc9f2b659ab8.png)

---

<div class="post-metadata">

**Author:** ![Melvincaleb](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/melvincaleb/32/293880_2.png) [@Melvincaleb](https://forum.freecodecamp.org/u/Melvincaleb)\
**Post date:** [February 10, 2021, 11:26am UTC](https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252/5 "2021-02-10T11:26:35Z")

</div>

I need your help?  
How can I do this, ` h2` element should not be commented out so that it is visible on the page. and they do this too. Each of your comments should be closed with `-->` .

---

<div class="post-metadata">

**Author:** ![nibble](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/nibble/32/123681_2.png) [@nibble](https://forum.freecodecamp.org/u/nibble)\
**Post date:** [February 10, 2021, 11:29am UTC](https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252/6 "2021-02-10T11:29:48Z")

</div>

Hello @Melvincaleb  
Welcome to FCC. Are you asking a question about one of the challenges in the FCC curriculum? If so, you can click `Get Help` button and then `Ask for Help` link. A topic will then be created where you can also ask a question too.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 11, 2021, 11:30pm UTC](https://forum.freecodecamp.org/t/help-i-want-a-grid-tile-lay-out-with-flexbox/445252/7 "2021-08-11T23:30:30Z")

</div>

Closed on August 11, 2021, 11:30pm UTC

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