Fading Backgrounds In/Out

I have a student that is trying to work on his ap from Unit 3 in principles. He has a background that fades out and the text then fades in, but then the background fades back in. How does he need to code so that once the background fades out, it is done (unless he recalls it)

Thanks!

Could you share a link to the code? You can get it by hitting the share button on Code Studio.

We were able to solve. Thank you!