Hello,

first of all i am sorry if this question has been answered. I was trying to find the result with search option but i couldnt find one. Maybe i wasnt looking at the write place.

The last 2 weeks have been extreamly fun! I learned the basics of visual basic and now i ran trough the basic tutorials about javascript. I got the basic knowledge about it. Now i started to look at the code others make and i came accross this code:

Code:
function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}
if(!head) <--- does this mean NOT head?

Regards,
HEki