Created
June 9, 2017 23:09
-
-
Save kirsten/431e3ce3a230ebdff5b84143ba90d52d to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=431e3ce3a230ebdff5b84143ba90d52d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<h1>Alert Functions!</h1> | |
<img src="https://media.giphy.com/media/wUklsDLTLcUBW/giphy.gif"> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"enabledLibraries":["jquery"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("img").click(function() { | |
// On line 4, call the alert() function with a hello message as the argument. | |
// Don't forget to put quotes around your message! | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment