first jQuery tutorial not working
<p>hi i try the first jQuery tutorial from jquery.com. i copied the code from there. the html link works, but the alert window with jquery does not work. 
what i tried so far:</p>

<ul>
<li>checked that javascript is enabled</li>
<li>deleted old jquery files</li>
<li>put the google jquery api as a source in the script-tag (instead the path to the jqueryfile)</li>
<li>cried</li>
<li>searched for synthax errors (typos can't be because i copied the code snippet)</li>
<li>downloaded firebug </li>
<li>tried the code with firefox and chrome</li>
</ul>

<p>But nothing worked so far. thanks in advance.</p>

<pre><code>&lt;!doctype html&gt;
&lt;html&gt;
    &lt;head&gt;
       &lt;meta charset="utf-8"&gt;
       &lt;title&gt;Demo&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
       &lt;a href="http://jquery.com/"&gt;jQuery&lt;/a&gt;
       &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;       &lt;/script&gt;    
       &lt;script&gt;
     // your code here 
        $( document ).ready(function() {
        $( "a" ).click(function( event ) {
          alert( "Thanks for visiting!" );
         });
         });
      &lt;/script&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>
