how to redirect to another page onclick a div code example
Example: javascript onclick to another page div
<div onclick="window.location.href = 'http://example.com';">Click this div to get redirected.</div>
<div onclick="window.location.href = 'http://example.com';">Click this div to get redirected.</div>