Skip to content

Instantly share code, notes, and snippets.

View nfosterky's full-sized avatar
🎯
Focusing

Nathaniel Foster nfosterky

🎯
Focusing
  • Workiva
  • Denver, CO
View GitHub Profile
@nfosterky
nfosterky / es6-classes.md
Last active January 22, 2018 04:23
A description of ES6 classes

ES6 Classes

Object-Oriented Programming (OOP) can be a great way to organize your projects. Introduced with ES6, the javascript class syntax makes OOP easier.

Before the class syntax was available, if you wanted to do OOP you would need to use a constructor function.

function Dog (name) {
  this.name = name;
}
@nfosterky
nfosterky / about.md
Last active August 29, 2015 14:25 — forked from jasonrudolph/about.md
@nfosterky
nfosterky / tic_tac_toe.css
Last active August 29, 2015 14:08
tic tac toe in HTML, CSS, and JS
/* tic_tac_toe.css */
html, body {
height: 100%
width: 100%
padding: 0;
margin: 0;
}
body {
<!DOCTYPE html>
<html>
<head>
<title>KendoUI Test Page</title>
<link href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.common.min.css" rel="stylesheet" />
<link href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.default.min.css" rel="stylesheet" />
<link href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.dataviz.min.css" rel="stylesheet" />
<link href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.mobile.all.min.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://cdn.kendostatic.com/2013.2.716/js/kendo.all.min.js"></script>