laravel 8 logout confirmation message how to do it?

I have a logout button in my navber.blade.php

<a class="dropdown-item" id="logout" href="{{ route('admin.logout') }}">
    {{ __('Logout') }}
</a>

I want that when I click the logout button it will show me a confirmation message that you want to logout yes or no? how to do this with jquery of javascript?