Created
April 20, 2017 01:11
-
-
Save outoftime/5547b31ab62df121fc73164fb73f4404 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=5547b31ab62df121fc73164fb73f4404
This file contains hidden or 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>Hide the giraffe</h1> | |
| <img src="https://dl.dropboxusercontent.com/u/364501990/animals_hero_giraffe_1_0.jpg"> | |
| </body> | |
| </html> |
This file contains hidden or 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 hidden or 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
| $("h1").click(function() { | |
| $("img").hide(); | |
| }); |
This file contains hidden or 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
| h1 { | |
| cursor: pointer; | |
| } | |
| img { | |
| max-width: 90vw; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment