I'm new to JavaScript and trying to add this http://codepen.io/jklm313/pen/EarFd great map scrolling effect to my site. CSS and HTML read fine, but the js part doesn't want to work. Even if I put the js code in my HTML. This is the very typical beginning of my HTML:
<html>
<head>
<title>title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="style.css"/>
<script src="script.js" type="text/javascript"></script>
</head>
<body>
I've searched for clues, but I can't seam to find the issue, is the code outdated or should I add something more?