These lines appear twice:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" defer></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js" defer></script>
Then this line is on the top:
Delete the line at the top and delete one of the two sets of repeated references. Then move the other set to the top where the line you deleted once was.
If you want me to look at code, please attach a copy of the file and not screen shots, it is too hard to read that way.