0
Why it does not work ?
2 Risposte
+ 3
because you try to load jQuery from sololearn servers ^^
replace your relative url in src attribute with:
https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js
+ 1
Change $('button'), with
$('#demo') and it will work