Bootstrap 4 navigation

Clash Royale CLAN TAG#URR8PPP
Bootstrap 4 navigation
I'm using underscores blank theme for wordpress. Ive tried integrated bootstrap 4 but im running into issues with the navigation. For some reason, the navbar is not display the menu links. It's only displaying the hamburger icon and collapsing the menu links on desktop. I only want the hamburger icon to display on mobile.
here is my php code
<div id="page" class="site container-fluid">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'sportsinthebahamas' ); ?></a>
<header id="masthead" class="site-header">
<nav id="menu" class="navbar nav-expand-md navbar-light" "role="navigation">
<div class="site-branding navbar-brand">
<?php
the_custom_logo();
if ( is_front_page() && is_home() ) :
?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php
else :
?>
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
<?php
endif;
$sportsinthebahamas_description = get_bloginfo( 'description', 'display' );
if ( $sportsinthebahamas_description || is_customize_preview() ) :
?>
<p class="site-description"><?php echo $sportsinthebahamas_description; /* WPCS: xss ok. */ ?></p>
<?php endif; ?>
</div><!-- .site-branding -->
<button class="navbar-toggler nav-bar-toggler-right" type="button" data-toggle="collapse"
data-target="#bs4navbar" aria-controls="bs4navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<?php
wp_nav_menu([
'menu' => 'primary',
'theme_location' => 'primary',
'container' => 'div',
'container_id' => 'bs4navbar',
'container_class' => 'collapse navbar-collapse',
'menu_id' => 'main-menu',
'menu_class' => 'navbar-nav ml-auto',
'depth' => 2,
'fallback_cb' => 'bs4navwalker::fallback',
'walker' => new bs4navwalker()
]);
?>
</nav>
Please help! as i am not too familiar with php. I attached a screenshot as well Screenshot of the code output in html screenshot of the homepage
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
The hamburger menu would not be handled by PHP at all, that would all be html (and maybe javascript)
– GrumpyCrouton
Aug 7 at 20:49