Skip to content

Instantly share code, notes, and snippets.

View katherineschultz's full-sized avatar

katherineschultz

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<a href="#" onClick="calculate()">Calculate It</a>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<a href = "#" onclick="calculate()">
Calculate life time supply
</a>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<a href = "#" onclick="calculate()">
Calculate life time supply
</a>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<a href = "#" onclick="calculate()">
Calculate life time supply
</a>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style>
p {
background-color: orange;
}
</style>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script>
var x = 0;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<a href = "#" onclick="calculate()">
Calculate life time supply
</a>
@katherineschultz
katherineschultz / gist:2be0a9e7caa899828e5e
Created July 20, 2014 22:00
jquery basic function with jquery plugin
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js">
</script>
<script>
$(function() {
$('.me, .me2').click(function() {
$('.photo').toggleClass('swap');
});
h2::first-letter {
font-size: 2em;
}
h3 + p {
border-top: 3px dotted #bbb;
}
ul:nth-of-type(2) li:nth-child(3n) {
color: red;
h1 {
border: 1px solid black;
padding: 15px;
}
.tsl-logo {
float:right;
}
.gender-container {