Responsive Mobile Navigation Menu with CSS and JavaScript

Responsive Mobile Navigation Menu with CSS and JavaScript

Source Code 

<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="" rel="stylesheet">
  <link rel="stylesheet" href="" />
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Maven Pro', sans-serif;

    max-width: 100%;
    background: #555;
    height: 550px;
    color: white;
    /*border-radius: 10px;*/

    overflow: hidden;
    background: #333;
    position: relative;

  .topnav #myLinks{
    display: none;

  .topnav a{
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
    display: block;

  .topnav a.icon{
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;

    background: #4caf50;
    color: white;

  .topnav a:hover{
     background: #ddd;
    color: black;



<nav class="mobile-container">

 <div class="topnav">
    <a href="#" class="active"> ThapaTechnical </a>
    <div id="myLinks">
      <a href="#"> Home </a>
      <a href="#"> Contactus</a>
      <a href="" target="_blank">About</a>
    <a href="javascript:void(0)" class="icon" onclick="myFunction()"> <i class="fa fa-bars" aria-hidden="true"></i>  </a>


    <h1 style="text-align: center;"><i class="fa fa-music" aria-hidden="true"></i> Awesome  Mobile Navigation Menu <i class="fa fa-music" aria-hidden="true"></i> </h1>

    <h1> DONATION FOR SUPPORT:    PhonePay = vinodbahadur@ybl      GooglePay: vbthapa55@oksbi
 Believe me all this money will be used to make more quality videos and to make my channel grow. So that I can always provide you awesome free videos :)



 function myFunction() {
     var showhide = document.getElementById('myLinks');
     if( === "block"){ = "none";
     } else { = "block";



Hope you all enjoy my videos :) Have a good day :)