title: Button to open link in new tab
body: <p>I am making a website and I want a new tab to open at a specific address when I click a button.</p>
  
  <p>This is the html for my button:</p>
  
  <pre><code>&lt;button id="AsDownload" onclick="AsDownload();"&gt;Download&lt;/button&gt;
  </code></pre>
  
  <p>And this is my javascript:</p>
  
  <pre><code>function AsDownload(){
      chrome.tabs.create({url:"https://alexanderhawking.itch.io/asteroid-racer"});
  };
  </code></pre>
  
  <p>But it is not working and I can't figure out why, can someone help me?</p>