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 alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; | |
var vowels = ["a", "e", "i", "o", "u", "y", "h"]; | |
var numberOfWords = 0; | |
var words = []; | |
var populatePossibilities = function(base) { | |
var newPossibilities = []; | |
var baseLength = base.length; |
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 tasks = [ "Drink Coffee", "Eat Donuts", "Go to Gym" ]; | |
var loadTasks = function(myTasks) { | |
for (var i=0; i < myTasks.length; i++) { | |
$("#to-do").append("<li>" + myTasks[i] + "</li>"); | |
} |
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
<!-- <input id="new-to-do" type="test" /> | |
<button onclick="myFunction()">Click Me!</button> | |
<ul id="to-do"> | |
</ul> | |
<script src="test.js"></script>--> |
OlderNewer