I am attempting to hide, show, shift images but I am unable to do anything. I see the buttons but nothing is happening. Is the link for jQuery wrong or is it something else? Nothing I've done seems to work. Not sure what to do at this point...
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>jQuery</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<link type="text/css" rel="stylesheet" href="jquery.css"/>
<script type="text/javascript">
$(document).ready(function() {
$("img").addClass("wrappedElement");
$("#Hide All Images").click(function(){
$("img").hide("fast");
});
$("#Show All Images").click(function(){
$("img").show("fast");
});
$("#Show Even Images").click(function() {
if ($("img:even").is(':visible') && $("img:odd").is(':visible')) {
$("img:odd").toggle("fast");
}else{
$("img:even").show("fast");
}
});
$("#Show Odd Images").click(function(){
if ($("img:odd").is(':visible') && $("img:even").is(':visible')) {
$("img:even").toggle("fast");
}else{
$("img:odd").show("fast");
}
});
$("#Right Shift").click(function(){
$("img").slideRight();
});
$("#Left Shift").click(function(){
$("img").slideLeft();
});
});
</script>
<body>
<div id="header">
<button id="Hide All Images">Hide All Images</button>
<button id="Show Even Images">Show Even Images</button>
<button id="Show Odd Images">Show Odd Images</button>
<button id="Right Shift">Right Shift</button>
<button id="Left Shift">Left Shift</button>
</div>
<div id ="content">
<img class="photo" src="photo_one.jpg" alt="one">
<img class="photo" src="photo_two.jpg" alt="two">
<img class="photo" src="photo_three.jpg" alt="three">
<img class="photo" src="photo_four.jpg" alt="four">
<img class="photo" src="photo_five.jpg" alt="five">
</div>
</body>