jQuery slideUp()

Sliding the elements upside down is one of the sliding effects that the jQuery library supports. The slideUp() method is used to slide up the selected elements. Example: <!DOCTYPE html> <html> <head> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”></script> <script> $(document).ready(function(){ $(“#flip”).click(function(){ $(“#panel”).slideUp(); }); }); </script> <style> #panel, #flip {padding: 2px;text-align: center;background-color: yellow;border: solid 5px red;} #panel { padding: 50px; … Read more