I found this html code on a website which is a click button and I want to learn how to click on this button using Javascript. Please someone help me to understand how to click such buttons. I'm trying this from past one hour.
This is the button which I want to click:
<div class="Button">
<a href="javascript:void(0)" class="button yellow-btn addToCart trackEvent" rel="Thebutton" data-action="Tap">Tap this button</a>
<div id="ButtonTwo" class="ButtonTest2">
<a href="javascript:void(0)"><p class="MeButton" id="ButtonID">Final button test</p></a></div>
this is not my code. Its from a website.