সম্পাদনা
<!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", }); $(".height").click(function(){ $("div").animate({height: "100px"}); }); $(".reset").click(function(){ $("div").animate({height: "50px"}); }); }); </script> </head> <body> <button class="height">হাইট</button> <button class="reset">রিসেট</button><br> <div></div> </body> </html>
পূর্বরূপ