Flashy Flash Card
Hi everyone, I was doing a challenge in JS animations and stuff called Flashy Flash Card and I got stuck big time :(
if(mouseIsPressed) {
text("It's Javascript!!", 69, 200);
}else{
text("What programming language is this?", 39, 200);
}
This was the hint i was given.
if (_____) { text("_____",_____ ,_____ ); } else { text("_____",_____ , _____); }
And then, this is what they said.
In this challenge, you'll make a flash card to help remember fun facts. You'll display the answer when the mouse is pressed, and the question when it isn't.
Hint: Use themouseIsPressed
variable to check if the mouse button is pressed.
How can I solve this?
Влезте в услугата, за да оставите коментар.