M
M
Mesuti2021-12-29 14:14:43
React
Mesuti, 2021-12-29 14:14:43

How to place some of the elements in another block in the iteration of the loop?

Hey!
How to leave the first three elements as they are, and place the rest in another block .red?
https://codesandbox.io/s/icy-pond-lte5l?file=/src/...

61cc4322b64ee916086171.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2021-12-29
@Mesuti

What is the problem? Not enough knowledge to split an array into two?
https://developer.mozilla.org/en-US/docs/Web/JavaS...
https://developer.mozilla.org/en-US/docs/Web/JavaS... Take
your pick

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question