There are a few ways to approach a problem like this one. Here are links to a few different approaches. In the first link, the approach I usually use is to make the text a variable. I then change the variable to an empty string when the space bar is pressed, so the starting value of the text is the text I want displayed and then when the space bar is pressed, the variable becomes empty text (“”) and it no longer displays.
@melynn, also has a template she teaches to her class so they can learn how to do that. She explains it here.
If your student tries one or more of these approaches and still can’t get it to work, check back in and we’ll try to help debug!
Good luck!
Mike