How do I put event button to access the following page:
No Html:
<a id="navMn">Blog</a>
I have the following javascript code, which is in error:
function abreOjnl(){
window.open('../menu/blog.html');
}
document.getElementById('navMn').addEventListener('click', abreOjnl);