HTML button not calling function
<p>this is my 1st javascript attempt and I'm getting the following in the chrome console:</p>

<p>"Uncaught ReferenceError: test1 is not defined."</p>

<p>I'm trying to send an Ajax request via onclick button event and display the data in the document. However, due to the error, I've scoped back to hello-world just for a debug attempt. Pardon this kind of question as I know its very elementary.</p>

<p>Any help is appreciated. Thanks for your time!</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt; 
&lt;body&gt;

&lt;button onclick="test1()"&gt;Click Here&lt;/button&gt;
&lt;p id="Data"&gt;&lt;/p&gt;


&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"&gt;

function test1(){
alert("Hello, World");
/* $.ajax({
    url: Target_URL,
    headers: {
        'Accept':'application/json',
        'authorization', 'Bearer ' + vToken
    },
    method: 'GET'
   // dataType: 'json',
   // data: YourData,
    success: ajaxCall = data
  }); */
}
&lt;/script&gt;

&lt;/body&gt;

&lt;/html&gt;
</code></pre>