updated folder structure
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Let's play a game!</p>
|
||||
<p>Of hide and seek...</p>
|
||||
<p class="easy">I'm easy to find!</p>
|
||||
<button id="hidebutton">Great idea</button>
|
||||
<button id="revealbutton">Found you!</button>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#hidebutton").click(function () {
|
||||
$("p").hide();
|
||||
});
|
||||
$("#revealbutton").click(function () {
|
||||
$(".easy").show();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user