JSFiddle - React, Tailwind, and code Playground

HTML

<a href='https://www.google.com' onclick="show_more_menu(event)"> More >>> </a>

<script>
    function show_more_menu(e) {
        // ...  your function code
        alert(e.target.href);
        e.preventDefault();
    }
</script>