JavaScript preprocessors can help make authoring JavaScript easier and more convenient. For instance, CoffeeScript can help prevent easy-to-make mistakes and offer a cleaner syntax and Babel can bring ECMAScript 6 features to browsers that only support ECMAScript 5.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
HTML Settings
Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$(".flip").click(function(){
$(".panel").slideToggle("slow");
});
$(".left")
});
</script>
<div class="divSection">
<h1>CRECE OC</h1>
<p style="text-align:center"><span>C</span>ollective in <span>R</span>esistance for <span>E</span>cological and <span>C</span>ultural <span>E</span>mpowerment</p>
<p>
We seek to improve the health, economy, and community cohesion of low income immigrant families through <span>leadership development, policy advocacy and community ownership</span> with regards to access to food and agriculture. By developing leaders amongst adults, youth and community based organization through a collaborative that shares strengths, resources and advocates for systems change policies, CRECE aims to cultivate environments where healthy food is produced, is accessible to the community, and where everyone benefits economically and culturally.
</p>
</div>
<div class="divSection">
<h1>How to Support</h1>
<p>You can help</p>
<div class="container-fluid">
<div class="flip">
<button type="button"
class="btn btn-warning btn-sm">
Click here to check out our CSA Boxes!
</button>
</div>
<div class="panel">
<div class="container-fluid">
<table class="rwd-table table responsive">
<thead>
<tr>
<th>Small</th>
<th>Quantity</th>
<th>Medium</th>
<th>Quantity</th>
<th>Large</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Salad Mix</td>
<td>1</td>
<td>Salad Mix</td>
<td>1</td>
<td>Salad Mix</td>
<td>1</td>
</tr>
<tr>
<td>Romaine Lettuce</td>
<td>1</td>
<td>Romaine Lettuce</td>
<td>1</td>
<td>Romaine Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Butterhead Lettuce</td>
<td>1</td>
<td>Butterhead Lettuce</td>
<td>1</td>
<td>Butterhead Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Curly Green Kale</td>
<td>12</td>
<td>Curly Green Kale</td>
<td>12</td>
<td>Curly Green Kale</td>
<td>24</td>
</tr>
<tr>
<td>Chard Mix</td>
<td>6</td>
<td>Chard Mix</td>
<td>12</td>
<td>Chard Mix</td>
<td>24</td>
</tr>
<td>Lemons</td>
<td>4</td>
<td>Lemons</td>
<td>5</td>
<td>Lemons</td>
<td>6</td>
</tr>
<tr>
<td>Limes</td>
<td>4</td>
<td>Limes</td>
<td>5</td>
<td>Limes</td>
<td>6</td>
</tr>
<tr>
<td>Grapefruit</td>
<td>3</td>
<td>Grapefruit</td>
<td>5</td>
<td>Grapefruit</td>
<td>6</td>
</tr>
<tr>
<td>Parsley Bunch</td>
<td>3</td>
<td>Parsley Bunch</td>
<td>3</td>
<td>Parsley Bunch</td>
<td>6</td>
</tr>
<tr>
<td>Cobra Peppers</td>
<td>5</td>
<td>Cobra Peppers</td>
<td>5</td>
<td>Cobra Peppers</td>
<td>10</td>
</tr>
<tr>
<td></td>
<td></td>
<td>Fennel Bunch</td>
<td>3</td>
<td>Fennel Bunch</td>
<td>6</td>
</tr>
<tr>
<td></td>
<td></td>
<td>Chamomile Bunch</td>
<td>1</td>
<td>Chamomile Bunch</td>
<td>1</td>
</tr>
<tr>
<td></td>
<td></td>
<td>Oranges</td>
<td>5</td>
<td>Oranges</td>
<td>6</td>
</tr>
<tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td>Brocoli</td>
<td>1 lb</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td>Celery</td>
<td>6 lb</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!--
<div class="container-fluid">
<div class="row">
<div class="col-sm-4">
<div class="flip">
<button type="button"
class="btn btn-warning btn-md">
Small
</button>
</div>
<div class="panel">
<div class="container-fluid">
<table class="table table-condensed">
<thead>
<tr>
<th>Produce</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Salad Mix</td>
<td>1</td>
</tr>
<tr>
<td>Romaine Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Butterhead Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Curly Green Kale</td>
<td>12</td>
</tr>
<tr>
<td>Chard Mix</td>
<td>6</td>
</tr>
<tr>
<td>Fennel Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Parsley Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Chamomile Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Cobra Peppers</td>
<td>5</td>
</tr>
<tr>
<td>Oranges</td>
<td>5</td>
</tr>
<tr>
<td>Lemons</td>
<td>5</td>
</tr>
<tr>
<td>Limes</td>
<td>5</td>
</tr>
<tr>
<td>Grapefruit</td>
<td>5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="flip">
<button type="button"
class="btn btn-warning btn-md">
Medium
</button>
</div>
<div class="panel">
<div class="container-fluid">
<table class="table table-condensed">
<thead>
<tr>
<th>Produce</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Salad Mix</td>
<td>1</td>
</tr>
<tr>
<td>Romaine Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Butterhead Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Curly Green Kale</td>
<td>12</td>
</tr>
<tr>
<td>Chard Mix</td>
<td>6</td>
</tr>
<tr>
<td>Fennel Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Parsley Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Chamomile Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Cobra Peppers</td>
<td>5</td>
</tr>
<tr>
<td>Oranges</td>
<td>5</td>
</tr>
<tr>
<td>Lemons</td>
<td>5</td>
</tr>
<tr>
<td>Limes</td>
<td>5</td>
</tr>
<tr>
<td>Grapefruit</td>
<td>5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-sm-4" >
<div class="flip">
<button type="button"
class="btn btn-warning btn-md">
Large
</button>
</div>
<div class="panel">
<div class="container-fluid">
<table class="table table-condensed">
<thead>
<tr>
<th>Produce</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Salad Mix</td>
<td>1</td>
</tr>
<tr>
<td>Romaine Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Butterhead Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Curly Green Kale</td>
<td>12</td>
</tr>
<tr>
<td>Chard Mix</td>
<td>6</td>
</tr>
<tr>
<td>Fennel Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Parsley Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Chamomile Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Cobra Peppers</td>
<td>5</td>
</tr>
<tr>
<td>Oranges</td>
<td>5</td>
</tr>
<tr>
<td>Lemons</td>
<td>5</td>
</tr>
<tr>
<td>Limes</td>
<td>5</td>
</tr>
<tr>
<td>Grapefruit</td>
<td>5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!--
</div>
<div class="flip">
<button type="button"
class="btn btn-warning btn-md">
Small
</button>
</div>
<div class="panel">
<div class="container-fluid">
<table class="table table-condensed">
<thead>
<tr>
<th>Produce</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Salad Mix</td>
<td>1</td>
</tr>
<tr>
<td>Romaine Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Butterhead Lettuce</td>
<td>1</td>
</tr>
<tr>
<td>Curly Green Kale</td>
<td>12</td>
</tr>
<tr>
<td>Chard Mix</td>
<td>6</td>
</tr>
<tr>
<td>Fennel Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Parsley Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Chamomile Bunch</td>
<td>3</td>
</tr>
<tr>
<td>Cobra Peppers</td>
<td>5</td>
</tr>
<tr>
<td>Oranges</td>
<td>5</td>
</tr>
<tr>
<td>Lemons</td>
<td>5</td>
</tr>
<tr>
<td>Limes</td>
<td>5</td>
</tr>
<tr>
<td>Grapefruit</td>
<td>5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
-->
</div>
-->
</div>
</div>
<div class="divSection">
<h1>Stay in Touch</h1>
<p>
</p>
</div>
<div class="divSection">
<h1>Flip 2 Coins</h1>
<p>
Complete the function <span>flipTwoCoins</span>:
</p>
</div>
@import url('https://fonts.googleapis.com/css?family=Rock+Salt|Open+Sans');
body {
background: url('http://www.publicdomainpictures.net/pictures/10000/velka/orange-fruit-pattern-11279546974t3lw.jpg');
background-height: 100%;
}
span {
color: orange;
}
p, ul {
color: white;
width: 80%;
margin: auto;
padding-bottom: 20px;
font-family: Open Sans;
}
h1 {
color: white;
text-align: center;
font-family: Rock Salt;
}
a {
color: red;
}
.divSection {
background-color: rgba(145, 13, 21, 0.8);
}
.canvas {
background-color: #fcecc9;
}
div {
padding: 20px;
margin: auto;
margin-bottom: 40px;
width: 95%;
}
.panel {
background-color: rgba(145, 13, 21, 0.0);
margin-bottom:5px;
text-align: left;
}
.flip {
margin-bottom:5px;
text-align: center; }
.table {
text-align:left;
color:white;
}
.rwd-table {
color:white;
margin: 1em 0;
min-width: 50px;
overflow:hidden;}
$breakpoint-alpha: 80px;
th, td {
text-align: center;
@media (min-width: $breakpoint-alpha) {
display: table-cell;
padding: .5em .5em;
&:first-child {
padding-left: 0;
}
&:last-child {
padding-right: 0;
}
}
}
Also see: Tab Triggers