DEV Community

Krenil Kshatriya
Krenil Kshatriya

Posted on

Toggle Hide and Show πŸ”₯

what is there in my DOM(On the page)
=> some dummy text
=>a button

what do the button actually does?
=> when ever the user click on the button for the

  1. first time it will disappear the above the text 2.second time it will appear the text back

and this process will continue and continue


if you find this information helpful and follow me and on codepen/instagram/ and dont forget to like this page.

Top comments (0)