Skip to content

Instantly share code, notes, and snippets.

View betsyrhodes's full-sized avatar

Elizabeth Rhodes betsyrhodes

View GitHub Profile
@betsyrhodes
betsyrhodes / jquery_example.html
Last active August 29, 2015 13:58 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<!-- Add a link to jQuery CDN here script here -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery_example.js"></script>
</head>
<body>
@betsyrhodes
betsyrhodes / 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
# 1) Instantiate a new board object. How does the boggle_board object hold the dice_grid?
#Psudocode
# Input: BoggleBoard class takes in a 2-dimensional array of letters as a parameter,
# #create_word takes in a series of coordinates as a parameter, #get_row & #get_col take
# in a row/column number respectively as a parameter.
# Output: #initialize returns the dice_grid, #create_word returns a string made up of the
# letters at the respective coordinates, #get_row returns a string made up of the letters in
# the row that was passed in as a parameter, #get_col returns a string made up of the letters