check if variable has a certain value from external js file in Laravel Blade
Hi I'm brand new to Laravel and Blade (and kind of beginner to PHP) but not JS, so I've found how to do @if @else statements and I have an external .js file with a simple script that is returning…