jQuery Lesson 10 possible bug



When I add the code :

the error that pops up is: Oops try again. Did you put document inside of $()?

		<title>Button Magic</title>
        <link rel='stylesheet' type='text/css' href='stylesheet.css'/>
     <div><br/><strong>Click Me!</strong></div>   
     <script type="text/javascript" src="script.js">



In your script.js tab, put document into a jQuery object and call .ready().

so $(document).ready(); should be inside script.js tab


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.