Insert a paragraph, Hide content.

Insert a paragraph, Hide content.

I need to make a function that when I click a button it inserts a paragraph into a document.

I also need to write one that when hovered over a button it reveals content but when the hover is lost the content is hidden.