Hey I can not figure out how to make links for tabs inside the browser that do not change the url location instead it goes into the tab. The way the tabs are changed is using this code:

```
<a href="#tab-1">Tab One</a>
<a href="#tab-2">Tab Two</a>
<a href="#tab-3">Tab Three</a>

```

I wanted to make a javascript call that will enable me to do just that. Here is what I tried but it changes the url locating adding a location. Here is the code:

```
window.location.assign("#tab-3")

```

How can I make my links using javascript?