Trying to learn how to make simple buttons in p5js

i am trying to learn how to make a simple button that prints hello in p5js or something else simple but when i tried to do it my self it didn’t work. Can someone just show me the code of a button that prints smth(or anything else) so i can see how buttons work

p5js.org/reference/#/p5/createButton
p5js.org/reference/#/p5.Element/mousePressed

Hello,

Take a look here:
https://p5js.org/

:)