Touch screen exercise

This one does (mostly) what what I wanted it to, but it doesn’t give you a message if you try to interact with it using the mouse: https://editor.p5js.org/ematcukgaiownik@gmail.com/present/ACGYQIWGP. (Link to the code: https://editor.p5js.org/ematcukgaiownik@gmail.com/sketches/ACGYQIWGP.)

This one gives you a message when you click on it, but also does some unexpected stuff when you interact with it on mobile: https://editor.p5js.org/ematcukgaiownik@gmail.com/present/J0-gKpyAB (link to the code: https://editor.p5js.org/ematcukgaiownik@gmail.com/sketches/J0-gKpyAB.) I have no idea why this is happening.

EDIT: I moved the code for the text and now it works (THANKS STEPHANIE): https://editor.p5js.org/ematcukgaiownik@gmail.com/present/VfttiLI5j (code: https://editor.p5js.org/ematcukgaiownik@gmail.com/sketches/VfttiLI5j).