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 lang="en"> | |
<head> | |
<title> Benjamin Schachter</title> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="stylesheet.css"> | |
<!--[if lt IE 9] | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
</head> |
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 lang="en"> | |
<head> | |
<title> Benjamin Schachter</title> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="stylesheet.css"> | |
<!--[if lt IE 9] | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
</head> |
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
@font-face { | |
font-family: 'Lincoln'; | |
src:url('AbrahamLincoln.ttf'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face{ | |
font-family: 'LincolnBold' | |
src:url('AbrahamLincoln.ttf'); |
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 lang="en"> | |
<head> | |
<title> Benjamin Schachter</title> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="stylesheet.css"> | |
<!--[if lt IE 9] | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
</head> |
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
Failures: | |
1) Authentication with valid information | |
Failure/Error: fill_in "Email", with: user.email.upcase | |
Capybara::ElementNotFound: | |
Unable to find field "Email" | |
# ./spec/requests/authentication_pages_spec.rb:33:in `block (3 levels) in <top (required)>' | |
2) Authentication with valid information | |
Failure/Error: fill_in "Email", with: user.email.upcase |
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
jQuery(document).ready(function($) { | |
$("li.dropdown a").click(function(e){ | |
$(this).next('ul.dropdown-menu').css("display", "block"); | |
e.stopPropagation(); | |
}); | |
}); |
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 gameOfLife = { | |
width: 50, | |
height: 50, | |
stepInterval: null, | |
createAndShowBoard: function () { | |
// create <table> element | |
var goltable = document.createElement("tbody"); | |
// build Table 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
var gameOfLife = { | |
width: 100, | |
height: 100, | |
stepInterval: null, | |
createAndShowBoard: function () { | |
// create <table> element | |
var goltable = document.createElement("tbody"); | |
// build Table 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
// Place your code here: | |
// Adds properties of obj2 into obj1 | |
function merge(obj1, obj2) { | |
var mergedObjs = {}; | |
for(var key in obj1) { | |
mergedObjs[key] = obj1[key]; | |
} |
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
//Setup | |
var contacts = [ | |
{ | |
"firstName": "Akira", | |
"lastName": "Laine", | |
"number": "0543236543", | |
"likes": ["Pizza", "Coding", "Brownie Points"] | |
}, | |
{ | |
"firstName": "Harry", |
OlderNewer