Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

HTML

              
                <!-- Hello.html -->
<!-- <!DOCTYPE html>
<html>
<head>
	<title>THC Page 1</title>
</head>
<body>
	Hello, World!
</body>
</html> -->

<!--  -->

<!-- Heading.html -->
<!-- <!DOCTYPE html>
<html>
<head>
	<title>THC Page 2</title>
</head>
<body>
	<h1>This is a headline</h1>
	<h2>This is a headline</h2>
	<h3>This is a headline</h3>
	<h4>This is a headline</h4>
	<h5>This is a headline</h5>
	<h6>This is a headline</h6>
</body>
</html> -->

<!--  -->

<!-- list.html -->
<!-- <!DOCTYPE html>
<html lang="en">
<head>
	<title>THC Page 3</title>
</head>
<body>
	Unordered List:
	<ul>
		<li>I am an unordered list</li>
		<li>I am an unordered list</li>
		<li>I am an unordered list</li>
	</ul>
	
	Ordered List:
	<ol>
		<li>I am an ordered list</li>
		<li>I am an ordered list</li>
		<li>I am an ordered list</li>
	</ol>

</body>
</html> -->

<!--  -->

<!-- Image.html -->
<!-- <!DOCTYPE html>
<html lang="en">
<head>
	<title>THC Page 4</title>
</head>
<body>
	<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbS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gc7nAkHv9VT6FvtUA3cQO2LMBGpR39Nt0FRQLdB5BMxpYl48WxkurnQUxNyG7II34xtMYsMGzQXYgvEMLLB1SA0IZGVzU2IbWrVdgyqCoXeF8eGCyLCRQPRjwts7mNII9tFQ0cEs+uqv4ohRqM0UxAhWGiYgq3joQb91qo1VOxoKPQwLKkvkaFKhrpthPRWxyqGphsmmW9CVEBoYVAcFM89aYgBcDUjB9eAyMS1c0MF44S/H7hkSBHP0BBXlBjDAteVbuHj27GV+prYgKJQY2wivjTUZ6YSijQXoaZgx1fAwh/U9PIQ1G+GBXhqQp0uj0JBf2nSSwxAIm8TNSo8B3ukhdsUiWmB4mKPRsNEYKsIB1Ur1cAX2OwTbKU40kT0DwYRDUTgijF+syKmhuYIF4okxdYzXt8Qjw4DcDPwfAicqQgpPJHh4qig5hAHAH3PCCDUcWkAcQhOgIOgSpNffQO3mAWGB5kLaXVr9tzQR66Kr/uu5wczRTVEmui4FmYu9cOJC3kAmQql6+IP5+ZQetiI1BS/M3f7EBhOUA5V1wkhSCeGEV1d+R+nL7LrN8IITLGRrQD2xEE9Z7YtlMoq9wQOtKofXg/2w41HgWEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmGYX5j/A3pvR+l8GTLfAAAAAElFTkSuQmCC">
</body>
</html> -->

<!--  -->

<!-- challenge -->
<!-- <!DOCTYPE html>
<html>
<head>
	<title>My Very First Challenge</title>
</head>
<body>
	<h1>Deric</h1>
	<h2>My Interests</h2>
		<ol>
			<li>reading</li>
			<li>coding</li>
			<li>business</li>
		</ol>
	<h2>Javascript Frameworks</h2>
	<ul>
		<li>react</li>
		<li>vue</li>
		<li>angular</li>
	</ul>
</body>
</html>
 -->

<!-- shortcuts -->
<!-- <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    Lorem ipsum dolor sit amet.
    Lorem, ipsum.
    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eligendi impedit perferendis voluptate veniam corrupti dolorum, tempora est cum aliquid nesciunt ducimus, quisquam deserunt officia adipisci facilis ullam sit beatae? Adipisci?
</body>

<h1></h1>
<li></li>
<img src="" alt="">
<form action=""></form>
<a href=""></a>
</html>
 -->


<!-- anchor -->
<!-- <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Anchor Tags</title>
</head>
<body>
    <a href="https://www.google.com" target="_blank">Google!</a>
</body>
</html> -->
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console