Answer the question
In order to leave comments, you need to log in
How to print array received from Laravel database by 2 instances?
You need to display the news in this order, i.e.
<div class="row">
<div class="item">
<div class="title">Title 1</div>
<div class="text">Text 1</div>
</div>
<div class="item">
<div class="title">Title 2</div>
<div class="text">Text 2</div>
</div>
</div>
<div class="row">
<div class="item">
<div class="title">Title 3</div>
<div class="text">Text 3</div>
</div>
<div class="item">
<div class="title">Title 4</div>
<div class="text">Text 4</div>
</div>
</div>
<div class="item">
<div class="title">Title 4</div>
<div class="text">Text 4</div>
</div>
<div class="item">
<div class="title">Title 4</div>
<div class="text">Text 4</div>
</div>
<div class="item">
<div class="title">Title 4</div>
<div class="text">Text 4</div>
</div>
<div class="item">
<div class="title">Title 4</div>
<div class="text">Text 4</div>
</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