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


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.

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.


	<title>My test page</title>
	<link rel="stylesheet" type="text/css" href="styles/style.css">
	<link href='' rel='stylesheet' type='text/css'>
	<h1>This is a test page <br> about Bruce Lee</h1>
	<img src="!/img/httpImage/image.jpg_gen/derivatives/gallery_1200/bruce-lee.jpg" alt="Picture of Bruce Lee">
	<p> Bruce was a great;</p>
	<p>The great ones are always gone too soon</p>
	<a href="">Bruce Lee's Web-Site</a>
	<p>If you wish to contact Bruce Lee's fan club please sumbit your request below</p>
		First Name:<input type="text" name="firstname"> <br>
		Last Name:<input type="text" name="lastname"><br>
		E-Mail:<input type="text" name="email"><br>

	<script src="scripts/main.js"></script>


                html {
	font-size: 20px;
	font-family: Candal;
	background-color: #AE2C3C;
font-size: 60px;
text-align: center;
margin: 0;
padding: 20px 0;
color: #00539F;
text-shadow: 3px 3px 1px black;
p, li {
	font-size: 16px;
	line-height: 2;
	letter-spacing: 1px;
	width: 600px
	margin: 0 auto;
	background-color: #FF9500;
	padding: 0 20px 20px 20px;
	border: 5px solid black;

	width: 600px;
	display: block;
	margin: 0 auto



                var myHeading = document.querySelector('h1');
myHeading.textContent = 'Bruce'+' Lees'+' Fan Page!';

var myVar = 'bob';

Open comment mutli line

//single line comment