Skip to content

Instantly share code, notes, and snippets.

@sarahzinger
Created January 8, 2017 20:35
Show Gist options
  • Save sarahzinger/0524eedbd57cd263f276c186e84af60b to your computer and use it in GitHub Desktop.
Save sarahzinger/0524eedbd57cd263f276c186e84af60b to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=0524eedbd57cd263f276c186e84af60b
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Name the bug</h1>
<h6>Hint: there are 2 bugs in our javascript can you find them?</h6>
<pre>
\_/-.--.--.--.--.--.
(")__)__)__)__)__)__)
^ "" "" "" "" "" ""
</pre>
<input />
<button>Submit</button>
<p>The bug's name is: </p>
</body>
</html>
{"enabledLibraries":["jquery"]}
$("button").click(function(){
("p").append($("input").val);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment