ah! i see he applied it to the header.php document. I didn’t know this would work because if you view the page source the code is in the body, but I suppose you can add body code to header.php!
figured it out, it was the youtube video that caused all my problems. I don’t know how it got that way, but anyway I removed the video and everything is back to normal.