Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                 <div class="tabbedPanels">  <!-- begins the tabbed panels / wrapper-->
 <ul class="tabs">
  <li><a href="#panel1">Kevin</a></li>
  <li><a href="#panel2">Joan</a></li>
  <li><a href="#panel3">Al</a></li>
  <li><a href="#panel4">Teresa</a></li>

<div class="panelContainer">
<div id="panel1" class="panel">

In spite of this tragedy, Kevin desired to bring good out of it, by spreading the word about the need for organ donation, and by supporting others in support groups. Kevin was on a waiting list for a kidney transplant. 
</div>  <!-- end panel 1 -->

<div id="panel2" class="panel">

 Joan, Kevin's mother, was the first volunteer as a donor. Although she was a match, she was temporarily disqualified as a kidney donor at that time. Joan has coordinated Organ Donation Awareness Acitivities at her place of work.
</div> <!-- end panel 2 -->

<div id="panel3" class="panel">
 Al, a relative, began a crusade of providing friends and other relatives with this information, in the hopes of finding a kidney donor. Al was a match, but was temporarily disqualified as a kidney donor at that time.

</div>  <!-- end panel 3 -->

<div id="panel4" class="panel">
Teresa,  also a relative and a website developer, volunteered to develop the website in September 2007, in cooperation with Al, Kevin and Joan. The goal of the website is to provide information and support to those in similar situations.

</div>  <!-- end panel 4 -->

</div> <!-- end div class="panelContainer" or panel wrapper -->

</div> <!-- ends the tabbed panels / wrapper-->



                .tabbedPanels { width: 600px; 
                margin-top: 25px;

.panelContainer {
	clear: left;
	margin-bottom: 25px;
	border: 2px solid green;	
	background-color: #fff;
	padding: 10px;
	/* add height if you want equal panels */

/* reset ul defaults  */
.tabs {
	margin: 0;
	padding: 0;	
	list-style: none;	

/* set li properties  */
.tabs li {
   float: left;
   width: 75px;
	padding: 0;
	margin: 0;
        text-align: center;

/* all formatting goes inside 'a' */
.tabs a {
	display: block;
	text-decoration: none;
	color: #fff;
        font-weight: bold;
	padding:  8px;
	margin-right: 4px;  /* spaces out the tabs  */
	border: 2px solid green;
   border-top-right-radius: 5px;
   border-top-left-radius: 5px;
	background-color: green;
    margin-bottom: -2px;  /* negative margin will move it down
	                         to blend in with outer border  */

.tabs {
	border-bottom: 2px solid white;
	background-color: #fff;
	color: #000;
        font-weight: bold;
 .panel img {
         margin-top: 10px;

.panel p  {
         margin-bottom: 0px;




$(document).ready(function() {
  $('.tabs a').click(function(){
     var panel = $(this).attr('href');
     return false;  // prevents link action
  });  // end click 

     $('.tabs li:first a').click();
}); // end ready