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 lang="en"> | |
<head> | |
<title>DOM manipulation with jQuery</title> | |
</head> | |
<body> | |
<h1> Hello. Welcome to the jQuery DOM Manipulation Challenge! </h1> | |
<h2>Now you see me.</h2> | |
<div class="mascot"> | |
<h1 class="dfly"> My DBC Mascot </h1> |
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 (board) | |
@board=board | |
end | |
def create_word(board, *coords) | |
coords.map { |coord| @board[coord.first][coord.last]}.join("") | |
end |