This content originally appeared on DEV Community and was authored by Krenil Kshatriya
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
- 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
x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
if you find this information helpful and follow me and on codepen/instagram/dev.to and dont forget to like this page.
https://www.instagram.com/krenilll/
This content originally appeared on DEV Community and was authored by Krenil Kshatriya

Krenil Kshatriya | Sciencx (2021-07-05T09:53:22+00:00) Toggle Hide and Show ?. Retrieved from https://www.scien.cx/2021/07/05/toggle-hide-and-show-%f0%9f%94%a5/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.