if i click the button, background color and text will be change.
how can i make it if i click the button one more time, it will be back?

if i click the button, background color and text will be change.
how can i make it if i click the button one more time, it will be back?

Hey @vielglucklifeyqi
Welcome!!
Sounds like you’re trying to make a toggle.
Take a look at our sample app “Toggl” to learn how to do this with a button: