lundi 9 mars 2020

why does my code won't my jquery code not able to run?

Hi all I dont know what is wrong with my code can someone help me?

  animate_demo = function() {
newstyle = {
  'font-size': '250%',
  'letter-spacing': '0.5em'
}
setup = function() {
  jQuery('#demo').click(animate_demo)

  jQuery('#animations h2').animate(newstyle, 1000)
}
jQuery(document).ready(setup)



Aucun commentaire:

Enregistrer un commentaire