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>DOM manipulation with jQuery</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script type="text/javascript" src="jquery.js"></script> | |
</head> |
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
body { font-family:Verdana; font-size:10pt; color:#828282; } | |
td { font-family:Verdana; font-size:10pt; color:#828282; } | |
.admin td { font-family:Verdana; font-size:8.5pt; color:#000000; } | |
.subtext td { font-family:Verdana; font-size: 7pt; color:#828282; } | |
input { font-family:Courier; font-size:10pt; color:#000000; } | |
input[type="submit"] { font-family:Verdana; } | |
textarea { font-family:Courier; font-size:10pt; color:#000000; } | |
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
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="news.css?dHfgaRhGq5610xS7bMsD"> | |
<link rel="shortcut icon" href="favicon.ico"> | |
<script type="text/javascript"> | |
function byId(id) { | |
return document.getElementById(id); | |
} | |
function vote(node) { |
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
class BoggleBoard | |
def initialize(dice_grid) | |
@boggle_board = dice_grid | |
end | |
def create_word(*coords) | |
coords.map { |coord| @boggle_board[coord.first][coord.last]}.join("") | |
end |