Skip to content Skip to sidebar Skip to footer

My Jquery Won't Work On My Webpage

All of my HTML and CSS code works fine, and my script is properly linked (or so I assume), but I can't get the script to load or do any actions I've coded. Here's my HTML, CSS, and

Solution 1:

Add this to the HTML head (before you include your script):

<scriptsrc="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

Solution 2:

You have to add more jQuery

<!DOCTYPE html><html><head><title>Highlights</title><linkrel='stylesheet'type='text/css'href='testwebcss.css'/><scriptsrc="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script><scripttype='text/javascript'src='testwebjs.js'></script></head><body><divid="title"class="highlighted">I'm highlighted!</div><divid="text">Highlight me, too!</div></body></html>

Post a Comment for "My Jquery Won't Work On My Webpage"