This code doesn't open the link despite following the syntax used in every example I can find. What am I doing wrong?

```
<button id="left_button">Button</button>

```

```
left_button.onclick= window.open('www.google.com', '_blank')

```