jQuery(document).ready(function($) {
    $('#my-button').click(function() {
        $('#my-element').fadeIn(); // Show the element smoothly
        $(this).fadeOut(); // Hide the button smoothly
    });
});

