I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work this is the code that i am tried to run the same Visual Studio project
<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead"
runat="server">
<script type="text/javascript">
$(document).ready(function () {
$('ul#people > li').css('background-color', '#ADD8E6');
});
</script>
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<div id="myId">
<p>
Paragraph before List</p>
<ul id="people">
<li>Phill</li>
<li>Pip</li>
<li>Les</li>
<li>Denise</li>
<li>Martin</li>
<li>Helen</li>
<li></li>
</ul>
<p>
Paragraph after List</p>
<div>
<p>
Paragraph inside another div</p>
</div>
</div>
</asp:Content>