Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

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;
      }
    }

  }


 
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console