New course! Every coder should learn Generative AI!
Try a free lesson+ 8
MD SAIF
Yes using touch event
https://www.w3schools.com/jsref/obj_touchevent.asp
+ 5
easy way:
<element onclick="javascriptFunction()" >
There are many ways to do this. You need to first increase your knowledge in css and javascript.
css:
element:hover
javascript event handler:
TouchEvent object(ontouchstart, ontouchmove, etc)
MouseEvent object(onmouseover, etc)
and other event types.
You must first learn the basics of JavaScript.
+ 4
Hi
Checkout line 186-211 from the code..
https://code.sololearn.com/WOi14of2X8Rx/?ref=app
+ 2
touch effect? i know that html just is for sekelton of documents to make effect you need pseduo properities in 'css'.
+ 1
Devansh Singh Bisht
That's click event not touch event.
+ 1
What type of editör is html code ?
+ 1
i do not understood your mean but if you point that witch software is the editor of html tags notepad of windows is common and easy to access and to handle i offer it,s to you.
0
A click event would do the trick:
https://code.sololearn.com/WoasV6G6BMpU/?ref=app
- 1
Check here
https://www.studytonight.com/code/html/