I have a loop, and this loop saves everything I write, and returns it to me, as a list with one item under the other, but I need to show 2 items per line, using Responsive Flex box, but I don't know how to do it!
I imagine it's very simple, but I'm a beginner, can someone help me?
I'm doing it this way, but is wrong, i need to complete the screen
<ul class="flex flex-wrap gap-6" style="width: 50%; flex-basis: 100%">
@foreach($notes as $note)
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg mb-4">
<div class="p-6 bg-white border-b border-gray-200" style="width: 100%">
{{ $note->actual_date }}
<div class="prose prose-sm mt-4">
{{ $note->getNoteAsHTML() }}
</div>
</div>
</div>
@endforeach
</ul>