Created
June 9, 2017 23:09
-
-
Save kirsten/12934c8d33961a1f95deb5629004849e to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=12934c8d33961a1f95deb5629004849e
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