What am I doing wrong? I'm trying to get my jquery to show on my .html file, but it doesnt run!
<!DOCTYPE html>
<html>
<head>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js">
</script>
<script>
$(".mainNav a").hover(function() {
$(this).parent().find(".subNav").slideDown('fast').show();
$(this).parent().hover(function() {}, function() {
$(this).parent().find(".subNav").slideUp('fast');
});
}).hover(function() {
$(this).addClass("subHover");
}, function() {
$(this).removeClass("subHover");
});
</script>
$(document).ready(function(){........//your code.....});