How a div can be made clickable
I am interesten in making my header div clickable.
I have heard this can be made with java script but i couldnt finally figer it out how to do it.
Can someone help me with this?
I found that a div can be made clickable using this line of code below
<div onclick="location.href='http://www.yourwebsite.com/';" style="cursor: pointer;"></div>
But i have no idea where to put that.
Thanks in advance