JavaScriptjQuery
jQuery Toggle
![](https://blog.codehunger.in/wp-content/uploads/2022/08/jquery-toggle_347.jpg)
<script> $(document).ready(function(){ $("button").click(function(){ $("p").toggle(); }); }); </script>
This is a paragraph.
Toggle between hide() and show()
<script> $(document).ready(function(){ $("button").click(function(){ $("p").toggle(); }); }); </script>
This is a paragraph.
Toggle between hide() and show()
Don't think too much let's begin.