সম্পাদনা
<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <script> $(document).ready(function(){ $("div").css({ "width": "50px", "height": "50px", "background-color": "pink", }); $(".hide").click(function(){ $("div").fadeOut(1000); }); $(".show").click(function(){ $("div").fadeIn(1000); }); }); </script> </head> <body> <button class="hide">হাইড</button> <button class="show">শো</button><br> <div></div> </body> </html>
পূর্বরূপ