Many times, we are facing the issue to assign a different CSS class depending on which page we are visiting. I present 2 ways to do this. Using php ternary operator in Blade file <a href="{{route('authentication')}}" class="{{ request()->route...
1 min read
2 min read
Simple Tutorials for web development and more...
8 min read
7 min read
3 min read
6 min read