Javascript Like

<article>

<button>like</button>

</article>
<script>
$(“button”).on(“click”, function()
{
alert(“javascript works”)
});
</script>

 

jquery