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> | |
<head> | |
<title> | |
Deck of Cards | |
</title> | |
</head> | |
<body> | |
<ul id="deck" class="collection"> | |
</ul> |
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
<script> | |
function Driver(name, speed, skill, reliability) { | |
this.name = name; | |
this.speed = speed; | |
this.skill = skill; | |
this.reliability = reliability; | |
this.position = 0; | |
this.isFocused = function() { | |
return Math.floor(Math.random() * 10) < this.skill; |
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
OUTLINE: | |
1. Seattle Beer News | |
2. Untitled Section | |
3. Untitled Section (nav) | |
4. Untitled Section (aside) | |
5. Untitled Section (aside) | |
6. Recent Comments | |
1. Untitled Section (ul) | |
7. Recent Entries |