Skip to content

Instantly share code, notes, and snippets.

View nateplusplus's full-sized avatar
💭
Groovin'

Nathan Blair nateplusplus

💭
Groovin'
View GitHub Profile
@nateplusplus
nateplusplus / Page.js
Last active December 8, 2015 15:36
A little project I was trying out, which uses object oriented javascript to get the url hash, and find the appropriate template to render... or you could just use angular.
function Page(urlhash) {
'use strict';
this.hash = {
"value": urlhash,
"name": ""
}
}
Page.prototype.getHashName = function () {
@nateplusplus
nateplusplus / html5_boilerplate.html
Last active January 23, 2019 19:11
Basic Responsive HTML5 Boilerplate
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Website</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
</body>
</html>