This file contains 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 List = function(){ | |
this.data = []; | |
this.add = add; | |
this.remove = remove; | |
this.count = count; | |
} | |
function add(item){ | |
this.data.push(item); | |
} |
This file contains 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 List = function(){ | |
this.data = []; | |
this.add = add; | |
this.remove = remove; | |
this.count = count; | |
} | |
function add(item){ | |
this.data.push(item); | |
} |
This file contains 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 List = function(){ | |
this.data = []; | |
this.add = add; | |
this.remove = remove; | |
this.count = count; | |
} | |
function add(item){ | |
this.data.push(item); | |
} |
This file contains 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 List = function(){ | |
this.data = []; | |
this.add = add; | |
this.remove = remove; | |
this.count = count; | |
} | |
function add(item){ | |
this.data.push(item); | |
} |
This file contains 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 List = require("./List.js"); | |
// List denemesi | |
var list = new List(); | |
list.add("stratocaster"); | |
list.add("telecaster"); | |
list.add(1950); | |
console.log(list.data); |
This file contains 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 List = require("./List.js"); | |
// List denemesi | |
var list = new List(); | |
list.add("stratocaster"); | |
list.add("telecaster"); | |
list.add(1950); | |
console.log(list.data); |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
<html> | |
<head> | |
<title>Drum Machine</title> | |
<style> | |
div.Key{ | |
display: inline-block; | |
margin-right: 10px; | |
border:1px solid #ccc; | |
background-color: #efefef; | |
border-radius: 3px; |
This file contains 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
<html> | |
<head> | |
<title>KONAMI CODE</title> | |
<style type="text/css"> | |
body{ | |
font-size: 60px; | |
font-family: sans-serif; | |
} | |
.fullScreen{ | |
position: absolute; |
This file contains 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
<html> | |
<head> | |
<title>Canvas Fractals</title> | |
</head> | |
<body> | |
<canvas id="myCanvas" width="401" height="401"></canvas> | |
<script> |
OlderNewer