title: W3 dropdown doesn't work
body: <p>I used the dropdown code (<a href="http://www.w3schools.com/howto/howto_js_dropdown.asp" rel="nofollow noreferrer">http://www.w3schools.com/howto/howto_js_dropdown.asp</a>)  directly from W3.</p>
  
  <p>I pasted all three parts (HTML, CSS, JS) into my code.  My CSS and JS pages are correctly linked and working. </p>
  
  <p>I am using GetSkeleton for the first time. </p>
  
  <p>My code is not working.</p>
  
  <p>JS:  </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-js lang-js prettyprint-override"><code>/* When the user clicks on the button, 
  toggle between hiding and showing the dropdown content */
  function myFunction() {
    document.getElementById("myDropdown").classList.toggle("show");
  }
  
  // Close the dropdown menu if the user clicks outside of it
  window.onclick = function (event) {
    if (!event.target.matches('.dropbtn')) {
  
      var dropdowns = document.getElementsByClassName("dropdown-content");
      var i;
      for (i = 0; i &lt; dropdowns.length; i++) {
        var openDropdown = dropdowns[i];
        if (openDropdown.classList.contains('show')) {
          openDropdown.classList.remove('show');
        }
      }
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>CSS
  </p>
  
  <pre><code>/* Dropdown Button */
  .dropbtn {
    background - color:
      #4CAF50;
    color: white;
    padding: 8px;
    font-size: 8px;
    border: none;
    cursor: pointer;
  }
  
  /* Dropdown button on hover &amp; focus */
  .dropbtn:hover, .dropbtn:focus {
    background-color: # 3e8 e41;
  }
  
  /* The container &lt;div&gt; - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline - block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown - content {
    display: none;
    position: absolute;
    background - color: #f9f9f9;
    min - width: 160 px;
    box - shadow: 0 px 8 px 16 px 0 px rgba(0, 0, 0, 0.2);
  }
  
  /* Links inside the dropdown */
  .dropdown - content a {
    color: black;
    padding: 6 px 8 px;
    text - decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown - content a: hover {
    background - color: #f1f1f1
  }
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {
    display: block;
  }
  </code></pre>
  
  
  
  <p>HTML</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="dropdown"&gt;
    &lt;button onClick="myFunction()" class="drpbtn"&gt;Dropdown&lt;/button&gt;
    &lt;div id="myDropdown" class="dropdown-content"&gt;
      &lt;a href="#"&gt;red&lt;/a&gt;
      &lt;a href="#"&gt;white&lt;/a&gt;
      &lt;a href="#"&gt;rose&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;!--end of dropdown div--&gt;
  </code></pre>