Created
November 30, 2016 22:37
-
-
Save alexpelan/9021cd947f42412a480d83db487cea98 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=9021cd947f42412a480d83db487cea98
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>We Do</title> | |
| </head> | |
| <body> | |
| </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
| // 1. Put an input with an id "name" and button in the html | |
| // 2. Add a <p> tag with the text "Hi" in it | |
| // 3. Add a click handler when the button is clicked | |
| // 4. In the click handler, append whatever is in the input to the paragraph | |
| // 5. Click it multiple times - how could we fix this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment