Bootstrap Tooggler Bar Not Working In Devices

Hi I’m new to the web development and programming. Currently I’m creating my first website with using HTML,CSS and Bootstrap. I want to create menu bar for only showing to the mobile users. I used bootrap 5 version for that. But my tooggler dropdown menu doesn’t show up in the screen when click the hamburger icon. Can you guys help me to fix this problem.

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="css/styles.css">

    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">


    <!-- favicon -->
    <link rel="icon" href="favicon-96x96.png">
    <!-- google fonts -->
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css2?family=Black+Ops+One&family=DM+Serif+Text&display=swap"
        rel="stylesheet">
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap" rel="stylesheet">

    <script src="https://kit.fontawesome.com/3d7b617097.js" crossorigin="anonymous"></script>

    <title>The Muscian</title>

</head>

<body>


    <a href="#" id="toTopBtn" class="cd-top text-replace js-cd-top cd-top--is-visible cd-top--fade-out"
        data-abc="true"></a>




    <div class="d-lg-none d-xl-block d-xl-none dn1">
        <nav class="navbar navbar-dark navbar-expand-md fixed-top nv">
            <a href="#" class="navbar-brand b1">Prabhashana Studio</a>
            <button class="navbar-toggler dnb" style="padding:2%" data-bs-toggle="collapse" data-bs-target="#navbar">
                <span class="navbar-toggler-icon"></span>
            </button>


            <div class="navbar-collapse collapse" id="navbar">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item dni"><a href="#new-release" class="nav-link">New Release</a></li>
                    <li class="nav-item dni"><a href="#albums" class="nav-link">Albums</a></li>
                    <li class="nav-item dni"><a href="#brand" class="nav-link">Studio</a></li>
                    <li class="nav-item dni"><a href="#follow" class="nav-link">Follow</a></li>
                </ul>
            </div>
        </nav>
    </div> -->


    <section id="title">


        <!-- title -->
        <div class="row">
            <div class="col-lg-6">
                <img class="title-image" src="images/titleimage.png" alt="">
            </div>
            <div class="col-lg-6">

                <h1 class="name">Sadeesha Prabhashana Music</h1>

            </div>
        </div>


    </section>

    <!-- lg menu bar -->
    <div class="lg-bar  d-none d-lg-block   ">

        <nav class="navbar navbar-expand-lg navbar-dark menu-bark pn">
            <div class="collapse navbar-collapse">
                <ul class="navbar-nav mx-auto" style="font-size: 20px">
                    <li class="nav-item item n2">
                        <a class="nav-link" href="#new-release">New Release</a>
                    </li>
                    <li class="nav-item item n2">
                        <a class="nav-link" href="#albums">Albums</a>
                    </li>
                    <li class="nav-item item n2">
                        <a class="nav-link" href="#brand">Studio</a>
                    </li>
                    <li class="nav-item item n2">
                        <a class="nav-link" href="#follow">Follow</a>
                    </li>
                </ul>
            </div>
        </nav>

    </div>




    <!-- new release -->

    <section id="new-release">
        <h1 class="new1">New Release</h1>



        <div class="row new-row">
            <div class="col-lg-6 new-col1">
                <img class="new-img" src="images/new.png" alt="">
            </div>


            <div class="col-lg-6 new-col2">
                <h4 class="new-date">release on 20/06/2021</h4>
                <h2 class="new-tag">Now</h2>
                <h2 class="new-tag-sp">Available</h2>
                <h2 class="new-tag">On</h2>
                <a href="https://open.spotify.com/album/2eIM3hAd3p96AxJclhJM9Y" target="_blank">
                    <button type="button" class="btn btn-light btn-lg new-music1"><i class="fab fa-spotify"></i>
                        Spotify
                    </button>
                </a>
                <a href="https://www.deezer.com/en/album/186867412" target="_blank">
                    <button type="button" class="btn btn-light btn-lg new-music2"> <i class="fab fa-deezer"></i>
                        Deezer
                    </button>
                </a>


                <p class="new-p">#Alone Chill Play Now</p>
            </div>
        </div>




    </section>

    <section id="albums">
        <h1 class="new">Albums</h1>


        <div class="row">

            <div class="col-lg-6 ab-im-b ">
                <img class="ab-im" src="images/4.png" alt="">
            </div>

            <div class="col-lg-6 ab-tx1">
                <h3 class="ab-tx">Sences</h3>
                <p class="ab-p">Pity those who don't feel anything at all.</p>
                <a href="https://open.spotify.com/album/1S3BnsQgmeWUBugQAvTZw1" target="_blank">
                    <button type="button" class="btn btn-light btn-lg ab-bu"><i class="fas fa-headphones-alt"></i> Play
                        Now
                    </button>
                </a>

            </div>

            <div class="col-lg-6 ab-tx2">
                <h3 class="ab-tx">Alone Chill</h3>
                <p class="ab-p">Chill out, relax and have an open mind.</p>
                <a href="https://open.spotify.com/album/2eIM3hAd3p96AxJclhJM9Y" target="_blank">
                    <button type="button" class="btn btn-light btn-lg ab-bu"><i class="fas fa-headphones-alt"></i> Play
                        Now
                    </button>
                </a>
            </div>

            <div class="col-lg-6 ab-im-b  ">
                <img class="ab-im" src="images/3.png" alt="">
            </div>

            <div class="col-lg-6 ab-im-b  ">
                <img class="ab-im" src="images/2.png" alt="">
            </div>

            <div class="col-lg-6 ab-tx3">
                <h3 class="ab-tx-sp">December</h3>
                <p class="ab-p">To appreciate the beauty of a snowflake it is necessary to stand out in the cold.</p>
                <a href="https://open.spotify.com/album/6OTh7heKygbXOWavxM2xvM" target="_blank">
                    <button type="button" class="btn btn-light btn-lg ab-bu"><i class="fas fa-headphones-alt"></i> Play
                        Now
                    </button>
                </a>

            </div>

            <div class="col-lg-6 ab-tx4 ">
                <h3 class="ab-tx">Secret Noiser</h3>
                <p class="ab-p">True merit, like a river, the deeper it is, the less noise it makes.</p>
                <a href="https://open.spotify.com/album/45YkxGBsrV9HP7fimQh4pm" target="_blank">
                    <button type="button" class="btn btn-light btn-lg ab-bu"><i class="fas fa-headphones-alt"></i> Play
                        Now
                    </button>
                </a>
            </div>

            <div class="col-lg-6  ab-im-b ">
                <img class="ab-im" src="images/1.png" alt="">
            </div>



        </div>

      

        <!-- brand -->
        <section id="brand">
            <h1 class="new">Studio</h1>
            <div class="row">

                <div class="col-lg-5 girl">
                    <img src="images/brand-cp-isuru-akalanka.png" alt="">
                </div>

                <div class="col-lg-7 ">
                    <img class="brand-img" src="images/P.png" alt="">
                </div>

            </div>

        </section>

        <div class="thoughts">
            <h2 class="t-h2">Thoughts</h2>
            <h4 class="t-h4">
                "Music is the great uniter. An incredible force.
                Something that people who differ on everything and anything else can have in common."
            </h4>
            <h4 class="t-h42">..Sarah Dessen</h4>
        </div>


        <!-- contact me -->

        <section id="follow">
            <div class="row f-r">

                <a class="icon col-lg-3 col-md-6" href="http://www.facebook.com" target="_blank">
                    <div><i class="fab fa-facebook fa-5x"></i></div>
                </a>
                <a class="icon col-lg-3 col-md-6" href="http://wwww.twitter.com" target="_blank">
                    <div><i class="fab fa-twitter fa-5x"></i></div>
                </a>
                <a class="icon col-lg-3 col-md-6" href="http://www.instagram.com" target="_blank">
                    <div><i class="fab fa-instagram fa-5x"></i></div>
                </a>
                <a class="icon col-lg-3 col-md-6" href="http://www.youtube.con" target="_blank">
                    <div><i class="fab fa-youtube fa-5x"></i></div>
                </a>




                <!-- <div class="col-lg-3 col-md-3 col-sm-6 icon"></div> -->
            </div>
        </section>


        <!-- footer -->
        <section id="footer">

            <p>© Copyright 2021</p>
            <p>created by Isuru Akalanka</p>

        </section>



        <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
            integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
            crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
            integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
            crossorigin="anonymous"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
            integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
            crossorigin="anonymous"></script>



</body>

</html>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.