0

In this post we will teach you. (How to Use Jquery in Html) .Copy the code below. Then check out our blog through the online HTML editor. Then use the code in your website. If there is a problem with the code, ask your question in the comment box below.

<!--DOCTYPE html--> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("p").hide(); }); }); </script> </head> <body> <h2>your text</h2> <p>your text</p> <p>your text</p> <button>Click</button> </body> </html>

Post a Comment

 
Top