<a href="#home">Home</a>
<a href="#shop">Shop</a>
<a href="#">no</a>
<div class="article" id="home">this is home content</div>
<div class="article" id="shop">this is shop content</div>
.article:target{
  background: yellow;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.