Tryit Editor v3.7

PHOTO EMBED

Sat Aug 20 2022 11:29:59 GMT+0000 (UTC)

Saved by @robuilding #undefined

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $("p").click(function(){
    $(this).hide();
  });
});
</script>
</head>
<body>
​
<p>If you click on me, I will disappear.</p>
<p>Click me away!</p>
<p>Click me too!</p>
​
</body>
</html>
​
content_copyCOPY

https://www.w3schools.com/jquery/tryit.asp?filename