<!DOCTYPE html>
<html>
<head>
<title>JQuery Referencing</title>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script>
$(document).ready(function(){
$("#btnClick").click(function(){
$("#myPara").css("background-color", "pink");
})
});
</script>
</head>
<body>
<p id="myPara">First jQuery</p>
<button id="btnClick">Click Me !!!</button>
</body>
</html>
Comments
0 B
|0 👍
/0 👎
0 B
|👍
/👎