Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <script src = "jquery-3.5.1.min.js"></script>
- <script>
- $(document).ready(function () {
- $("button").click(function () {
- $("#test").hide();
- });
- });
- </script>
- </head>
- <body>
- <h2>This is a heading.</h2>
- <p>This is a paragraph.</p>
- <p id="test">This is another paragraph.</p>
- <button>Click me!</button>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement