From page 105 onward the text has you create a script file, main.js, and has you invoke it in the ,body. of the index.html file between the and elements using the following declaration as published in the book - “script src=“scripts/main.js” charset=“utf-8”></script” (I’ve left off the 1st and trailing angle brackets because they cause the text not to display in here for some reason.) (*Hey guys…isn’t this forum supposed to be a place where you can get help? If so don’t you think that being able to display code in it’s entirety would be a worthwhile endeavor?)
Anyway unfortunately nothing I do will get it to work from there. I thought it might be an issue with the relative path so I defined it using the full path name like I had to do with the font declarations from a previous chapter to get them to work even though all the images are fine referenced with a relative path.
So…why isn’t the main.js file being executed from the body area of the html file? I know I’ve seen this done many times on other web pages so I had no expectations that there would be any problems here.
I’m using Chrome version 56.0.2924.87 (64-bit) on Windows 7 Enterprise (x64). Anyone have any ideas?