Skip to content
Loading
how to simplify this?
  • Abhishek Chadha
    You can use the class instead of id 
    just give class on all anchor tag 
  • Welcome

  • Contact

  • Info
  •  
     
    and in JS change the below line 
      var a = document.getElementsByClassName("a1");