Onclick Alert Functions In JS | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 3

Onclick Alert Functions In JS

So I finished learning Javascript (I didn't learn it on Sololearn I learned it on a different coding platform) and JQuery a while ago, but I forgot how to use the onclick function that outputs an alert when you click an HTML button. Can some please use an example code of how the code is suppose to look on SL coding playground?

1st Jun 2021, 1:40 PM
Shadesūüėé
Shadesūüėé - avatar
4 Respostas
+ 4
https://code.sololearn.com/WORnjymNptW6/?ref=app easiest way to. Make button onclick
2nd Jun 2021, 12:21 PM
Ayush
Ayush - avatar
1st Jun 2021, 1:53 PM
Vachila64‚ėē
Vachila64‚ėē - avatar
+ 1
Vachila64‚ėē Thank you so much
1st Jun 2021, 5:12 PM
Shadesūüėé
Shadesūüėé - avatar