my hamburger toggle will not work in my custom theme

My hamburger toggle won’t will show up when i resize the page but once clicked the menu will not appear!

my code in header.php

</header>  <header role ="banner">   <nav class="navbar" >     <span class="navbar-toggle" id="js-navbar-toggle">         <i class="fas fa-bars"></i>     </span>      <img src="https://www.littlerippers.uk/wp-content/uploads/2019/08/hand-logo-01-01-01.svg" height="230" ><a href="#" class="logo"></a>     <ul class="main-nav" id="js-menu"> 

my code in functions.php

wp_enqueue_script( 'js-navbar-toggle', get_template_directory_uri() . '/js/script-1.js', array(), true );  add_action( 'wp_enqueue_scripts', 'js-navbar-toggle' ); 

Divi Theme Install With Lifetime Updates for $5

if are you looking Divi theme with lifetime updates. You have come to the right place. i have unlimited divi theme license, I can help you to setup your website with Divi Theme or with any Elegant theme of your choice. if your Divi theme or any Product by elegant theme is outdated , i will update it Note: in 5$ is only an installation service, develop your website on your own. For any query please contact me

by: badshahsahu44
Created: —
Category: WordPress
Viewed: 131


WordPress Themeforest Theme Demo Installation In 30 Minute for $5

Hi, I will install WordPress CMS on your server and activate your theme with demo content if available. I will secure your WordPress site by tweaking Security settings and install all basic plugins which will make your site function properly(GoogleAnalytics, Captcha, Share Bar Social Media, Google Map, LiveChat, etc.) :::My Services Include::: 1. Installation of WordPress on your domain/URL 2. Install your WordPress Theme 3. Customize your Site to Look exactly Like the Demo 4. Adding your website name and Logo 5. Google Analytics Setup including dashboard data 6. Customizing Font, Size & Colors 7. Website Security Setup (Basic) 8.Speed Optimization 9.Content upload. :::WHY AM I DIFFERENT FROM OTHERS::: Fast Deliver with best quality I provide only high quality work. 100% satisfaction,FREE unlimited revision Briefing Details. 1. FTP/cPanel information. 2. The full package of the theme in .zip format Note: Please send me a message before placing the order. Thanks, Chakmafreelance

by: Chakmafreelance
Created: —
Category: WordPress
Viewed: 194