Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
98 lines (75 sloc) 3.48 KB
<html>
<head>
<title>Days since a Hear Me Code member landed a job in tech</title>
<meta name="description" content="How many days has it been since a Hear Me Code member landed a job in tech?">
<!-- Opengraph -->
<meta property="og:site_name" content="Hear Me Code">
<meta property="og:description" content="How many days has it been since a Hear Me Code member landed a job in tech?">
<meta property="og:image" content="https://shannonvturner.com/images/hearmecode_logo.png">
<meta property="og:title" content="Hear Me Code">
<meta property="og:url" content="https://hearmecode.com">
<meta property="og:type" content="website">
<!-- Twitter card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@hearmecode">
<meta name="twitter:creator" content="@svthmc">
<meta name="twitter:title" content="Hear Me Code">
<meta name="twitter:description" content="How many days has it been since a Hear Me Code member landed a job in tech?">
<meta name="twitter:image:src" content="https://shannonvturner.com/images/hearmecode.png">
<meta name="twitter:url" content="https://hearmecode.com">
<link rel="shortcut icon" href="https://shannonvturner.com/images/hearmecode.ico">
<link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<style>
.main
{
width: 80%;
color: #fff;
padding: 10%;
font-family: 'Oswald', sans-serif;
background-color: #00A99D;
text-align: center;
font-size: 2.25em;
}
#days-container {
font-size: 4.5em;
}
</style>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49936574-2', 'hearmecode.com');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="main">
<div>
It has been
</div>
<div id="days-container">
</div>
<div>
days since a Hear Me Code member has landed a job in tech.
</div>
<div style="margin-top: 1em;">
Since 2015, over a dozen women credit <a href="https://hearmecode.com" style="text-decoration: underline; color: #fff;">Hear Me Code</a> with providing them the skills and experience they needed to land a tech job.
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script type="text/javascript">
$( document ).ready(function() {
var oneDay = 24*60*60*1000; // hours*minutes*seconds*milliseconds
var jobAnnounced = new Date(2017,0,31); // 0 is January for some ungodly reason
var today = new Date();
// var diffDays = Math.round(Math.abs((jobAnnounced.getTime() - today.getTime())/(oneDay))) - 1;
jobAnnounced = moment(jobAnnounced);
today = moment(today);
diffDays = today.diff(jobAnnounced, 'days');
$("#days-container").text(diffDays);
});
</script>
</body>
</html>