Coding and executing jQuery

Notes:

4. Write the jQuery and execute:

<body>
<h1 id="heading1"> Heading one text </h1>
<script type="text/javascript">
//document.getElementById("heading1").style.border="2px solid red";
//jQuery("#heading1").css("border","2px solid red");
$("#heading1").css("border","2px solid red");
</script>
</body>

Interview Questions: