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
body { | |
font-family: 'Arial'; | |
font-size: 46px; | |
text-align: center; | |
} | |
.centered { | |
margin: 0 auto; | |
padding-top: 60px; | |
width: 600px; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="table_color.css"> | |
<script src="table_color_broken.js"></script> | |
</head> | |
<body> | |
<div class="centered"> | |
<table> | |
<tr> |
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
body { | |
font-family: 'Arial'; | |
font-size: 46px; | |
text-align: center; | |
} | |
.centered { | |
margin: 0 auto; | |
padding-top: 60px; | |
width: 600px; |
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
body { | |
font-family: 'Arial'; | |
font-size: 46px; | |
text-align: center; | |
} | |
.centered { | |
margin: 0 auto; | |
padding-top: 60px; | |
width: 600px; |
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 main = function() { | |
var color_tile = function(i, j, delay) { | |
/* Create the id string for this table cell. */ | |
var cell_id = String(i) + "-" + String(j); | |
/* Get the html cell element using the cell_id variable. */ | |
var cell_element = document.getElementById(cell_id); | |
/* Print which cell the function is working on, for debugging | |
* purposes. In chrome open View->Developer->JavaScript Console | |
* to see the output. */ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="table_color.css"> | |
<script src="table_color.js"></script> | |
</head> | |
<body onload="color_tiles()"> | |
<div class="centered"> | |
<table> | |
<tr> |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<script src="sandbox.js"></script> | |
</body> | |
</html> |
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
map(lambda y: filter(lambda x: x != ”, y), map(lambda y: list(y), map(lambda y: y.partition(‘!’), map(lambda y: list(y), map(lambda x: x.partition(split), foo))[0]))) |