Code Communication | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Code Communication

Is there a way of making something happen on JavaScript when something has happened in html? (E.G. a bit like onclick, onload etc but so when a button is clicked in html, a script begins in JavaScript or CSS)

9th Jul 2018, 3:22 PM
George
George - avatar
1 Answer
+ 1
Thats an onclick event. Yes they're supported.
9th Jul 2018, 4:23 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar