While following along the lessons I forgot I had moved all the files in the previous working lesson into a sub directory 'old' including the jquery file. I feel stupid, and it won't be the last time. Thanks for your help Jacques1. It is solved.
I see the 404 error and I also see that is says '$' is not defined. I'm following along with a web dev course on udemy.com and my pages look identical to his so I don't understand what the problem is. I thought $(document).ready() was valid syntax for a .js file?
My browser is loading the webpage just fine and there are no errors reported in /var/log/apache/error.log but I can't get this simple jQuery alert to show up after refreshing the browser.
Do you see anything wrong with me code? Thanks.
HTML <-index.html
<!DOCTYPE html>
<html>
<head>
<title>jQuery Content Slider</title>
<link rel='stylesheet' href='css/style.css'>
<script src='jquery-3.0.0.min.js'></script>
<script src='js/script.js'></script>
</head>
jQuery <- js/script.js
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.