A Pen by Aled Wassell on CodePen.
A Pen by Aled Wassell on CodePen.
A Pen by Aled Wassell on CodePen.
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
<body> | |
<div id="info"></div> | |
</body> |
A Pen by Aled Wassell on CodePen.
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.
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
<div id="app"> | |
</div> |
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
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) { |
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
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() { |
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
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. |
OlderNewer