Firebug: "$ is undefined".

Firebug: "$ is undefined".

Hi, I am new to JQuery and coding in general.

I did a search for this issue, and couldn't find anything in recent history.

Whenever I open my html file in my browser (Firefox), I get thousands of yellow error messages citing the JQuery code, and a red error message stating '$ is undefined'. 

I have been Googling this matter pretty extensively, and discovered multiple explanations. Unfortunately, none of them seem to apply to me. I have put my link to the code in front of my link to the file, I have linked to a variety of different locations, I have included 'type' and omitted it, I have linked to the code on my own computer (both compressed and uncompressed version), I changed my '$'s to 'JQuery's, (the error message then changes to 'JQuery is not a function'), I put '(JQuery)' at the end of my function, I passed '$' with my function, I did two of the latter and all three, and I shortened my JQuery code down to one function. I have done some things I forgot and some things that even I knew wouldn't work before I tried them. Still, same problem. Below is what I've got right now. Please let me know if anything springs to mind. Everything but my JQuery is showing up perfectly, btw.

  1. <head>
            <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js" type="text/javascript">
            </script>
            <script type='text/javascript' src='script.js'>
            </script>
            <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        </head>





  2. $(document).ready(function(){
        $('div').slideDown('slow');       
    });