Tooltip on click of a button : <p>I'm using <a href="https://clipboardjs.com/" rel="noreferrer">clipboard.js</a> to copy some text from a <code>textarea</code>, and that's working fine, but I want to show a tooltip saying "Copied!" if it was successfully copied like they do in the example given on their website. </p>

<p>Here's an example of it working without showing a tooltip: <a href="https://jsfiddle.net/5j50jnhj/" rel="noreferrer">https://jsfiddle.net/5j50jnhj/</a></p>
