# Grabbing Data from A Repeated Set of Data

**URL:** <https://forum.builder.io/t/grabbing-data-from-a-repeated-set-of-data/1607>\
**Category:** Technical Questions\
**Tags:** custom-code\
**Created:** [January 21, 2022, 10:33pm UTC](https://forum.builder.io/t/grabbing-data-from-a-repeated-set-of-data/1607 "2022-01-21T22:33:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![logan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/logan/32/5564_2.png) [@logan](https://forum.builder.io/u/logan)\
**Post date:** [January 22, 2022, 12:35am UTC](https://forum.builder.io/t/grabbing-data-from-a-repeated-set-of-data/1607/2 "2022-01-22T00:35:50Z")

</div>

Hi @hlopez!

Here’s some general direction for accessing specific item data while using Repeat for Each:

When using Repeat For Each, you can include camel-cased “Item” appended to the name of the array you’re looking in. For example, let’s say you have an array of objects that represent each card:

`state.cards = [{...data}]`

Inside of Builder, you can now use `state.cardsItem.id` to look for the `id` value data for the current item in the “Repeat for Each”.

If this doesn’t get you headed in the right direction, please feel free to respond with some clarification regarding your tech stack and show the shape of the data you’re working with!

* * *

Regarding the custom Javascript section, are you using the one under **Data \> “Custom JS + CSS”**?

When console logging, you’ll want to make sure your code is in the `if(Builder.isBrowser)` section of the JS panel. Then, to see your console log in action, head to your site preview. (The eye button next to “Publish”!).

Thank you for these questions!

---

_[View the full topic](https://forum.builder.io/t/grabbing-data-from-a-repeated-set-of-data/1607)._
