# Help with grid in portfolio

**URL:** <https://forum.freecodecamp.org/t/help-with-grid-in-portfolio/397587>\
**Category:** General\
**Created:** [June 2, 2020, 2:44am UTC](https://forum.freecodecamp.org/t/help-with-grid-in-portfolio/397587 "2020-06-02T02:44:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hello\_Forum](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hello_forum/32/152481_2.png) [@Hello\_Forum](https://forum.freecodecamp.org/u/Hello_Forum)\
**Post date:** [June 2, 2020, 2:44am UTC](https://forum.freecodecamp.org/t/help-with-grid-in-portfolio/397587/1 "2020-06-02T02:44:21Z")

</div>

Hello,

I am currently having difficulty placing items were I want them inside a grid area. I created a grid area that is 3 rows by 4 columns, and I have tried to place specific items in the correct areas inside of that grid, but when I do, they all go to the bottom of the grid area between columns 3/4 and rows 3/4 all layered on top of one another. I originally named the grid area based on the project name and image. I thought that might have been the problem so I changed it to something else, but it didn’t resolve the problem. I would like to make it into a template format so when I add projects to it later, I would be able to add them easily, bu that is not the focus of the problem at the moment.

A link below will be provided and thank you for taking the time out to help me.

Link:  
[https://codepen.io/letsfundthee/pen/oNjVwLZ](https://codepen.io/letsfundthee/pen/oNjVwLZ)

---

<div class="post-metadata">

**Author:** ![Naomi](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/naomi/32/422181_2.png) [@Naomi](https://forum.freecodecamp.org/u/Naomi)\
**Post date:** [June 2, 2020, 3:44am UTC](https://forum.freecodecamp.org/t/help-with-grid-in-portfolio/397587/2 "2020-06-02T03:44:51Z")

</div>

Hello~!

I’m going to attach the MDN for grid-template-areas.

> **[Grid template areas](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Grid_Template_Areas)**
>
> In the previous guide we looked at grid lines, and how to position items against those lines. When you use CSS Grid Layout you always have lines, and this can be a straightforward way to place items on your grid. However, there is an alternate method...

First, you’ve got `grid-template-area` instead of `grid-template-areas`.

Second, your elements need to be given a `grid-area` value in their CSS so the `grid-template-areas` knows what each value is connected to.

---

<div class="post-metadata">

**Author:** ![Hello\_Forum](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hello_forum/32/152481_2.png) [@Hello\_Forum](https://forum.freecodecamp.org/u/Hello_Forum)\
**Post date:** [June 2, 2020, 9:11am UTC](https://forum.freecodecamp.org/t/help-with-grid-in-portfolio/397587/3 "2020-06-02T09:11:56Z")

</div>

You have got to be kidding me, I have went through all this troubleshooting and all was missing was an ‘s’ at the end of one command. LOL SMH

Thanks for the help. I left off the template area so people could see what I was going for. I was going to show my testing page along side it, but I thought it would have been too confusing, so I left it out (That may have been a bad way of approaching it though).

Thanks again for the assistance,

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:51pm UTC](https://forum.freecodecamp.org/t/help-with-grid-in-portfolio/397587/4 "2021-06-01T18:51:33Z")

</div>

Closed on June 1, 2021, 6:51pm UTC


