11. Get yourself in (ive checked all the other posts)


#1

Just like everyone else I am getting this error:
Oops, try again. It looks like you didn't set your div's opacity to 1. Check the example to in the instructions if you need help!

This is the code I am using:
$(document).ready(function(){
** $('div').mouseenter(function() {**
** $('div').fadeTo('fast', 1);**
** });**
});

For anyone that is curious about what my script looks like in index.html this is it:

<head>
	<title>Button Magic</title>
    <link rel='stylesheet' type='text/css' href='stylesheet.css'/>
</head>
<body>
 <div><br/><strong>Click Me!</strong></div>   
</body>

Also I have already tried changing the opacity from 1 to 0.1. That didnt work either.


#2

you forgot to link .where is your script tag?
In .html file after link tag you need

<script type="text/javascript" src="script.js"></script>


#3

Thank you so much! It finally worked!


#4

I had to change the opacity in my stylesheet to 1


#5

this helped me. ive been so long on that question! thanks


#6

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