I am using Notepad++ and when I save and run this code in the browser the Jquery does not work.
<!DOCTYPE html>
<html>
<head>
<title>Result</title
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<link rel='stylesheet' type='text/css' href='style.css'/>
</head>
<body>
<script>
$(document).ready(function() {
$("div").click(function() {
$("div").fadeout('slow');
});
});
</script>
<div></div>
</script>
</body>
</html>
Style.css
div {
height: 100px;
width: 100px;
background-color: #FA6900;
border-radius: 5px;
}
</script>tag after yourdivand the function isfadeOut()notfadeout()JS is case sensitivetitletag