tutorials > copy paste on click

I actually have no idea what to say here you just you get the idea you just click something and the text in it is copied like yea


STEP ONE
Add this script somewhere in your html file:


STEP TWO
Add onclick="copyContent(this)" to your HTML element , for example :



And... Youre done! You now have copy pasted on click text on your site (˶ᵔ ᵕ ᵔ˶) ♡ Congratulations!

xo xo shai