Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                body
	ul.navigation
		li
			img(src='https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-9/htmlcss1-img_logo-shiptoit.png' height='20px')
		li.active Action List
		li Profiles
		li Settings
	.search Search the table
	table
		thead
			tr
				th Company Name
				th Number of Items to Ship
				th Next Action
		tbody
			tr
				th Adam's Greenworks
				td 14
				td Package Items
			tr
				th Davie's Burgers
				td 2
				td Send Invoice
			tr
				th Baker's Bike Shop
				td 3
				td Send Invoice
			tr
				th Miss Sally's Southern
				td 4
				td Ship
			tr
				th Summit Resort Rentals
				td 4
				td Ship
			tr
				th Strike Fitness
				td 1
				td Enter Order
		tfoot
			td Total
			td 28
              
            
!

CSS

              
                body {
	background: #EEE;
	margin: 0;
	padding: 0;
}

.navigation {
	box-sizing: border-box;
	background-color: #3587A4;
	overflow: auto;
	padding: 18px 50px;
	position: relative;
	top: 0;
	width: 100%;
	z-index: 999;
}

ul {
	padding: 0;
	margin: 0;
}

li {
	color: #FFF;
	display: inline-block;
	font-family: 'Oxygen', sans-serif;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 2px;
	margin: 0;
	padding: 20px 18px 10px 18px;
	text-transform: uppercase;
}

.active {
	color: #88CCF1;
}

table {
	height: 40%;
	left: 10%;
	margin: 20px auto;
	overflow-y: scroll;
	position: static;
	width: 80%;
}

thead th {
	background: #88CCF1;
	color: #FFF;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 100;
	letter-spacing: 2px;
	text-transform: uppercase;
}

tr {
	background: #f4f7f8;
	border-bottom: 1px solid #FFF;
	margin-bottom: 5px;
}

th, td {
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 400;
	padding: 20px;
	text-align: left;
	width: 33.3333%;
}

.search {
	background-color: #FFF;
	border: 1px solid #DDD;
	border-radius: 3px;
	color: #AAA;
	padding: 20px;
	margin: 50px auto 0px auto;
	width: 77%;
}
              
            
!

JS

              
                
              
            
!
999px

Console