Skip to content

Instantly share code, notes, and snippets.

View aledwassell's full-sized avatar
🏠
Working from home

Aled Wassell aledwassell

🏠
Working from home
View GitHub Profile
@aledwassell
aledwassell / David Bowie Tribute.markdown
Last active March 10, 2016 12:44
David Bowie Tribute
@aledwassell
aledwassell / Aled Wassell Portfolio.markdown
Last active March 27, 2016 09:19
Aled Wassell Portfolio
@aledwassell
aledwassell / Hex code clock with greeting.markdown
Created March 31, 2016 22:25
Hex code clock with greeting
@aledwassell
aledwassell / index.html
Created June 5, 2016 03:15
looking at getting screen width, height and history
<body>
<div id="info"></div>
</body>

CN layout 2

This is a secret project, starting today 2016/07/31 I am gonna build my girlfriends first website, it's a total secret.

She likes to cook, so Im gonna put photos of her cooking on here, kind of like a menu.

A Pen by Aled Wassell on CodePen.

License.

@aledwassell
aledwassell / index.html
Created September 6, 2016 23:11
React Learning 01
<div id="app">
</div>
var animals = [
{ name: 'Fluffykins', attitude: 'happy', species: 'rabbit' },
{ name: 'Caro', attitude: 'grumpy', species: 'dog' },
{ name: 'Hamilton', attitude: 'selfish', species: 'dog' },
{ name: 'Harold', attitude: 'urnest', species: 'fish' },
{ name: 'Ursula', attitude: 'angry', species: 'cat' },
{ name: 'Jimmy', attitude: 'content', species: 'fish' }
];
var names = animals.map(function(animal) {
var type = 'antonym';
var url = 'http://api.wordnik.com:80/v4/word.json/';
var url2 = '/relatedWords?useCanonical=false&relationshipTypes=';
var url3 = '&limitPerRelationshipType=10&api_key=a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5';
var button;
var input;
var output;
function setup() {
var a;
a = 1;
// if
// a = null;
// a = "";
// a = undefined
// using coersion to check if something has a value that isn't null, and empty string or undefined.