querySelectorAll JavaScript টিউটোরিয়াল এবং ডেমো

querySelectorAll JavaScript টিউটোরিয়াল এবং ডেমো

জাভাস্কিপ্টের মাধ্যমে সবগুলো class এবং id কে একসাথে সিলেক্ট করার querySelectorAll ব্যাবহার করা হয়, এরপর এইগুলোতে খুব সহজে Function এবং Style apply করা যায়। আজকে আমরা স্কল ফাংশন এবং কালার পরিবর্তন করে দেখাবো।

The Window Object

The scrollTo() Method

Click to scroll the document.






querySelectorAll ব্যাবহার করা হলে অবশ্যই লুপ ব্যাবহার করতে হবে, লুপের ভিতোরে Function লিখতে হবে। লুপ ছাড়া querySelectorAll কাজ করবে না। লুপ ছাড়া querySelector কাজ করে তবে শুধুমাত্র প্রথমের class এবং id কে সিলেক্ট করতে পারে।

Favorite Web is a welfare and service organization, providing digital marketing and technology information, tips and tricks completely free of charge. Also we have a skilled team to handle any digital marketing work. facebook youtube email

Related Articles

0 Comments: