- Close your
<p>
tag - The script uses jQuery,notice the
$
sign, download it or use a CDN and place it above your script -
Make sure that the page is fully loaded before executing the code
$(document).ready(function(){ // your script here });
<p>
tag$
sign, download it or use a CDN and place it above your scriptMake sure that the page is fully loaded before executing the code
$(document).ready(function(){
// your script here
});