JSFiddle - React, Tailwind, and code Playground

by Shree Khanal

HTML

<a href="#" onClick=onNavigationAction()>View more</a>

JavaScript

const onNavigationAction = () => {
  window.open('https://www.google.com/', '_blank');
};