blade
@if ($errors->any()) @foreach ($errors->all() as $error) <div>{{$error}}</div> @endforeach @endif
Pro tip: use ```triple backticks around text``` to write in code fences