Skip to content

Instantly share code, notes, and snippets.

Created March 11, 2014 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/9492683 to your computer and use it in GitHub Desktop.
Save anonymous/9492683 to your computer and use it in GitHub Desktop.
Noah's html homepage
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesh.css"/>
<script type="text/javascript" src="jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="script1.js"></script>
</head>
<body>
<div id="box">
Noah Manion
</div>
<div id="container"><button class="learn-more">About</button>
<button class="learn-more">Resume</button>
<button class="learn-more">Social</button>
<button class="link" onclick="location.href='http://whatsonyourmindnoah.tumblr.com'">BLOG</button></div>
<p class="hide"><b>About Me</b><br />With a degree in Liberal Arts, but mostly doing coursework in Urban Planning, I started working for a non-profit that works to reduce traffic congestion by promoting carpooling. There I learned some project management, marketing and analytics skills. I was always looking for ways to automate things and make processes work more smoothly. I also realized that I really liked having a hand in creating digital products.<br /><b>Why am I making a career switch?</b><br />A few years ago I was working with a software company we had contracted with to update the database that we used to match carpoolers. It was then that I realized that I really liked creating a new, groundbreaking product. When I moved to Chicago, I was able to do some professional development to help me make a career switch.</p>
<p class="hide"><b>Resume</b></p>
<p class="hide">Twitter: @noahmanion<br /><a href="http://www.linkedin.com/pub/noah-manion/35/267/b12">LinkedIn</a><br /><a href="http://www.github.com/noahmanion">GitHub</a></p>
</body>
</html>
body {
font-family: Verdana, Geneva, sans-serif;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
#box{
background-color: #1C86EE;
height: 185px;
width: 100%;
margin-top: 0;
font-family: futura, helvetica sans-serif;
font-size: 72pt;
text-align: center;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: auto;
margin-bottom: auto;
}
button{
height: 100px;
width: 200px;
border-style: none;
background-color: red;
border-radius: 100px;
font-size: 18px;
text-align: center;
margin-top: 25px;
margin-right: auto;
margin-left: auto;
font-family: Verdana, Geneva, sans-serif;
}
.container{
position: relative;
}
button:hover{
background-color: green;
}
p.hide{
display: none;
width: 50%;
font-family: Verdana, Geneva, sans-serif;
margin-right: auto;
text-align: center;
}
$(document).ready(function() {
var $b = $('button.learn-more'), $p = $('p.hide');
$b.click(function() {
var i = $b.index(this);
$p.hide().eq(i).show();
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment