jQuery Show DIV and Remove Button [closed]

/* Show/Hide my div*/   
jQuery(document).on('click','.my-button',function() {
  //jQuery('.div-wordpress').slideToggle('230','swing','hide');
  this.remove();//supposed to be #my-button ?
});

Note that I have swapped ids for classes and just made a small JS update – this is the clicked element inside a jQuery event – not jQuery(this)

Here is a CodePen: https://codepen.io/qstudio/pen/PoGdLgX