Skip to content

Instantly share code, notes, and snippets.

View sdickey's full-sized avatar

Sean Dickey sdickey

View GitHub Profile
@sdickey
sdickey / a_reflection.md
Last active August 29, 2015 13:58 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0

##Finished product image

Image

##Reflection The structure of this exercise is nearly identical to the javascript DOM manipulation challenge from DBC unit 3, week 3 (no surprise there). JQuery is so much easier to grasp from a syntax standpoint: the commands are more concise, and as far as those that manipulate styles, closer to what you think they'd be if you had to take an educated guess based on a limited knowledge of jQuery and css. Here's how you'd change

@sdickey
sdickey / 0.2.1-boggle_class_from_methods.rb
Last active August 29, 2015 13:56 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1boggle class challenge
class BoggleBoard
attr_reader :board
def initialize(board)
@board = board
end
def create_word(*coords)
coords.map { |coord| board[coord.first][coord.last] }.join("")
end