add EventListener basic Javascript
January 20, 2020
add EventListener < span id=”elem”>Hello! < script > elem.addEventListener(‘click’,function(){ alert(‘hello’); }); </ script >
January 20, 2020
add EventListener < span id=”elem”>Hello! < script > elem.addEventListener(‘click’,function(){ alert(‘hello’); }); </ script >
January 18, 2020
<svg id=”svg” viewBox=”0 0 100 100″ xmlns=”http://www.w3.org/2000/svg”> <g id=”g”> <circle cx=”50″ cy=”50″ r=”25″ /> <circle cx=”60″ cy=”60″ r=”25″ /> </g> </svg> <style type=”text/css”> #svg{width: 500px;height:… Read More →
Create blinking notification with JavaScript Style .notification { position: fixed; z-index: 1000; padding: 5px; border: 1px solid black; font-size: 20px; background: white; text-align: center; }… Read More →
December 25, 2019
get screen width and height with JavaScript < script >if (screen.width>900||window.innerWidth>900) { }</ script > Get screen width window.innerWidth Get screen height window.innerHeight
December 23, 2019
Create a Click to Call Link Using HTML To Add a Clickable Telephone Link in HTML Use “tel” on href of anchor tag the following… Read More →
December 23, 2019
Display Code on Your WordPress Site From the editor select Text option and wrap your code with the “code” tag of html.