This is how it's like to create a gist on Github. I've noticed this uses Markdown
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 userInput = $("#gridSize").val(); | |
| var size = userInput * userInput; | |
| var createGrid = function(){ | |
| $("#create").click(function(){ | |
| for (i = 0; i <= size; i++) { | |
| $("#container").append("<div id="grid"> </div>"); | |
| }; | |
| }); |