title: CSS Topbar dropdown hover not wroking
body: <p>I'm new to designing a web. Recently, I'am trying to design my web and putting Topbar with dropdown on hover, but it's not working. I'm using tutorial from W3School. I put my code below, maybe someone can tell me what did I do wrong. Thank you</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.dropdown {
    float: left;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    border: none;
    outline: none;
    padding: 14px 20px;
    margin: 0;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="navbar"&gt;
    &lt;a class="active" href="/try/front.php"&gt;Logo&lt;/a&gt;
    &lt;a class="active" href="rightMain.php"&gt;Name&lt;/a&gt;
    &lt;a class="active" href="rightPage1.php"&gt;Menu1&lt;/a&gt;
    &lt;div class="dropdown"&gt;
      &lt;button class="dropbtn"&gt;Dropdown&lt;/button&gt;
      &lt;div class="dropdown-content"&gt;
        &lt;a href="#"&gt;Link 1&lt;/a&gt;
        &lt;a href="#"&gt;Link 2&lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>