onclick redirect to another 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>