My Documentation Style
My page on Documentation was a start in formalising a style that I am trying to adopt for this website.
When I attempt to deconstruct a piece of code that I think may be of use to me I post snippets of code along with an interpretation of what the code does.
When this code is clicked the visitor should be taken to the page that I am trying to deconstruct.
The code that does this
The code is enclosed in a pre tag of class="syntax" and an event listener is added to the element. The cursor style is changed to style="cursor:pointer".