+ 4
How do I create buttons that make whatever is currently on a screen disappear and something new display?
I have three button called Html, Css, and JavaScript. When a button is pressed I want it to display text that has the same id as it and when I click another button I want the previous text to disappear to display the new text for the new button that is pressed. Anyone know how to achieve this? https://code.sololearn.com/W6GEd4Z20MOx/?ref=app
5 Respuestas
+ 4
I'm a girl, but okay.
+ 3
In your example, how come when I click the button again it doesn't display "hide me" again?
+ 2
Can you explain that more clearly?
+ 2
No flirting in my questions!
+ 2
i got excited when i saw so many messages thinking i got more answers and tips...