Created
April 30, 2017 22:36
-
-
Save venkat/189ec24a6da0f3c32176f6a373308d8f to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=189ec24a6da0f3c32176f6a373308d8f
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> | |
<span id="badveggie"></span> is a vegetable I don't like at all! | |
<br/> | |
<br/> | |
<span id="goodveggie"></span> is a vegetable I love! | |
<br/> | |
<br/> | |
<span id="mehveggie"></span> is a vegetable I don't care much about. | |
</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
var vegetables = ["broccoli", "carrot", "mushroom"]; | |
$("#badveggie").append(vegetables[0]); | |
$("goodveggie").append(vegetables[1]); | |
$("mehveggie").append(vegetables[2]); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment