Welcome to the Treehouse Community
Looking to learn something new?
I am having trouble linking the js page to to the html. The js page is named scripts.js. What am I doing wrong? Here is the code: <!DOCTYPE html> <html> <head>
<title>Matt Bloomer| Designer</title> <link rel="stylesheet" href="css/style.css"> <script src="scripts.js"></script>
Rich Donnellan25,767 Points
In a nutshell, the
script tag(s) should be placed in either the
head or before the closing
body tag using the following syntax:
<!-- for HTML5 --> <script src="scripts.js"></script>
Read more about it here.