জয়েন লগইন

জেকুয়েরী .class

🌈জেকুয়েরী .class কি?

📋জেকুয়েরী .class হলো নির্দিষ্ট ক্লাসের এলিমেন্ট সিলেক্ট করার পদ্ধতি।

⚒️জেকুয়েরী .class নির্দিষ্ট ক্লাসের এলিমেন্ট সিলেক্ট করতে ব্যবহৃত হয়।

জেকুয়েরী .class নির্দিষ্ট ক্লাসের এলিমেন্ট সিলেক্ট করার উদাহরণ।

jquery
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script>
$(document).ready(function(){
  $("button").click(function(){
    $(".container").css("background-color", "tomato");
  });
});
</script>
</head>
<body>
<button>ক্লিক করুন</button>
<div class="container">
  <h1>প্রোগ্রামিং শিখুন</h1>
  <p>প্রোগ্রামিং শিখে নিজের ক্যারিয়ার গড়ে তুলুন</p>
</div>
</body>
</html>