Answer the question
In order to leave comments, you need to log in
How to make nested loops work independently of the outer one?
Actually the question is in the topic title. There is such a code (I work with vue).
<div class="col-xl-12 your-choice-list-block">
<ul class="your-choice-list" v-for="slide in listIcons" :key="icon_id" :style="{ listStyleImage: `url(${slide.icon_img})`, backgroundPosition: 'center' }">
<li class="
your-choice-item">
<div class="list-title" v-for="item in listTitles" :key="title_id">{{item.title}}</div>
</li>
</ul>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question