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
| #myCanvas { | |
| width: 100%; | |
| height: 100%; | |
| padding: 200px; | |
| } |
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> | |
| <head> | |
| <meta charset=utf-8> | |
| <title></title> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> | |
| <body> | |
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
| // Works in modern browsers + IE9, but Modernizr has a polyfill baked in for function.bind. | |
| // Uses Javascript's new bind function | |
| //Hat tip Paul Irish 'and tuts' | |
| var o = $( {} ); | |
| $.subscribe = o.on.bind(o); | |
| $.unsubscribe = o.off.bind(o); | |
| $.publish = o.trigger.bind(o); |
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
| /* This is a new way to use image replacement without using text indent to form a box way to the screens */ | |
| .ir { | |
| border: 0; | |
| font: 0/0 a; | |
| text-shadow: none; | |
| color: transparent; | |
| background-color: transparent; | |
| } |
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
| //Jquery version of using pubsub | |
| (function($) { | |
| var o = $( {} ); | |
| $.each({ | |
| on: 'subscribe', | |
| trigger: 'publish', | |
| off: 'unsubscribe' | |
| }, function ( key, api ) { |
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
| //updated 1st time | |
| var red = [0, 100, 63]; | |
| var orange = [40, 100, 60]; | |
| var green = [75, 100, 40]; | |
| var blue = [196, 77, 55]; | |
| var purple = [280, 50, 60]; | |
| var myName = "Pure Consulting"; | |
| letterColors = [red,orange,green,blue,purple]; |
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> | |
| <head> | |
| <!-- // <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script> --> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
| <script type="text/javascript" src="http://s3.amazonaws.com/codecademy-content/courses/hour-of-code/js/alphabet.js"></script> | |
| <link type="text/css" rel="stylesheet" href="css/stylesheet.css"/> | |
| </head> | |
| <body> | |
| <h2 style="float: right;">Data Driven Intellingence</h2> |