+ 1

How can i create a click event like that of Instagram like font

17th Aug 2021, 4:03 PM
Arnold Daniels
Arnold Daniels - avatar
4 ответов
+ 3
window.onload = function() { var item = document.getElementById("item"); item.addEventListener("click", myFunction); function myFunction() { alert(Math.random()); } };
17th Aug 2021, 4:30 PM
JaScript
JaScript - avatar
18th Aug 2021, 12:58 AM
Calviղ
Calviղ - avatar
+ 1
How can i create a click event in JavaScript So when i click on something on my website something happens
17th Aug 2021, 4:25 PM
Arnold Daniels
Arnold Daniels - avatar
0
Can you be more clear?
17th Aug 2021, 4:05 PM
Abhay
Abhay - avatar