title: How to highlight active links
body: <p>I know this has been asked again but I seem to facing a challenge. I want to have clicked or active links turn purple so that one can tell which link is active. I tried a couple of ways but not successful. Kindly, any one? </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>.nav-container {
      float: center;
      width: 100%;
      padding-bottom: 0;
      margin-bottom: 11px; 
  }
  
  .navigation-menu {
      padding:  0;
      float: center;
      clear: both;
      font-size: 12px
      margin-bottom: 0;
  }
  
  .navigation-menu &gt; li {
      margin-right: 3px;
      margin: 100px auto;
      line-height:20px;
      max-width:860px;
      display: inline;
  }
  
  .navigation-menu li {
      list-style-type: none;
  }
  
  .navigation-menu li a {
      background-color: #ffffff;
      display:inline-block;
      padding: 10px 20px;
      color: #696969;
      text-decoration: none;
      border-radius: 4px 4px 0 0;
  }
  
  .navigation-menu li.active a {
      background-color: purple;
      color:#fff;
  }
  
  .navigation-menu li ul {
      display: none;
  }
  
  .navigation-menu ul li a{
      padding:10px 20px;
  }
  
  #main {
      clear: left;
  }
  
  .navigation-menu li:hover ul {
      display: inline-block;
      position: absolute;  
      padding:5px;
  }
  
  .navigation-menu li ul li a:hover{
      background-color: black;
      color: white;
      display: block;
  }
  
  .navigation-menu li a:hover{
      background-color:black;
      color: white;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="nav-container"&gt;
      &lt;ul class="navigation-menu"&gt;
        &lt;li&gt;&lt;a href='start.php'&gt;Home&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href='pay.php'&gt;C2B Payments&lt;/a&gt; &lt;/li&gt;
        &lt;li&gt;&lt;a href='sms.php'&gt;C2B SMS&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href='#'&gt;B2C Payments&lt;/a&gt;
          &lt;ul&gt;
            &lt;li&gt;&lt;a href="getbtc.php"&gt; B2C Payments&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="payment.php"&gt; Make Payments&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/li&gt;
  
        &lt;li&gt;&lt;a href='bsms.php'&gt;B2C SMS&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href='index.php'&gt;Log Out&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>