Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
82 lines (76 sloc) 2.14 KB
<!doctype html>
<html>
<head>
<title>startup name generator</title>
<meta name="author" content="Joshua Holbrook">
<meta name="description" content="startup name generator">
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="custom.css">
<link rel="icon" type="image/png" href="/favicon.png"/>
<script type="text/javascript">
window.onload = generate;
function generate() {
var prefixes = [
'Cloud',
'App',
'Stream',
'Giga',
'Neo',
'My',
'Your',
'Net',
'Go',
'Buzz',
'Node',
'Bridge',
'Red',
'Blue',
'Green',
'Micro',
'Socket',
'Feed'
]
var suffixes = [
'Cloud',
'App',
'Beam',
'Punch',
'Stream',
'Node',
'Buzz',
'Panel',
'Above',
'Feed',
'Sense',
'Genius',
'Host',
'Socket'
];
var postscripts = [
'', '', '', '', '', // Easy/stupid way to only get postscripts sometimes
'.io',
'ify',
'.me',
'.ly'
];
function rando(xs) {
return xs[Math.floor(xs.length * Math.random())];
}
document.querySelector('#startup-name').innerHTML = rando(prefixes) + rando(suffixes) + rando(postscripts);
};
</script>
</head>
<body>
<div id="main">
<h2 class="title">~= STARTUP NAME GENERATOR =~</h2>
<h4>Need a new hip name for your new startup? LOOK NO FURTHER</h4>
<h2 class="intro">Your startup name is...</h2>
<h1 id="startup-name">[one sec...]</h1>
<button style="color: purple; text-decoration: underline" onClick="generate()">DO IT AGAIN</a></button>
</div>
<footer>
<span style="color: #f00">&lt;3</span> <a href="http://jesusabdullah.net">Joshua Holbrook</a> 2013.
<a href="https://github.com/jesusabdullah/jesusabdullah.net/blob/master/startup-name-generator/index.html#L12-L62">Sauce.</a>
</footer>
</body>
</html>