Connectivity problem of script.js with html in 8/13


#1
<head>
    <title></title>
    <!--Add your script tag here.-->
    <script type="text/javascript" src="script.js"></script>
</head>
<script>
$(document).ready(function(){
    $('div').slideDown('slow');
    });
</script>
<body>
    <div></div>
</body>

I don't what is wrong with it.
It gives an error that > Oops, try again. Did you put 'div' inside $() ?
why it is not connecting with Script.js


#2

Hi Ystanwar,

You need to move the code inside your second set of <script> tags into the script.js file. Then, you should delete those <script> tags, now that they'll be empty.
Make sure you don't delete your <script> tag that links to script.js, though.