jquery - Why it doesn't fade out? -


why doesn't fade out?

<!doctype html> <html>     <head>     <link rel="stylesheet" type="text/css" href="stylesheet.css"/>     <script src="http://ajax.googleapis.com/ajax/libs/jquery/latest/jquery.js"></script>     <script type="text/javascript" src="script.js"></script>     </head>     <body>         <p>asdasds</p>       </body> </html> 

my script.js external file

$(document).ready(function() {    $('p').fadeout(500); }); 

error 404 when open in new tab

http://ajax.googleapis.com/ajax/libs/jquery/latest/jquery.js

use below code in script tag.

<script src="//code.jquery.com/jquery-1.11.3.min.js"></script> 

or per kmsdev suggested add newest version

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -