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 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.


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.



<!-- First of two of the homework assignments. Link to instructions is here:  -->

Your HTML should have each of the following sections:
-Article (With a Heading)
	<title>Nigel's HW-Wireframe Homework Assignment</title>

	<link rel="stylesheet" type="text/css" href="style.css">


<!-- The body contains all of the html content -->

	<!-- This is the header container -->

		<p> header </p>

	<!-- This is the nav container that sits rights below the header with the same heigth and width -->

		<p> nav </p>


	<!-- This is the section that will contain the article along with 'h1, h2, h3 and a separate p container' -->

		<p> section </p>

		<!-- This is where the article section is housed and inside this container is the h1, h2, h3 and p boxes -->


			<!-- contains the 'headers div' -->
			<div class="headers"> <strong>h1, h2, h3 </strong></div>

			<!-- contains the 'paragraph div' -->
			<div class="paragraph"> p </div>



	<!-- This contains the aside container that lives on the right of the section container -->

		<p> aside </p>


	<!-- The footer container that lives at the bottom of the page -->

		<p>footer </p>




                /*CSS Instructions: 
The colors used in your final layout should be:
-Background: #777
-Content: #ebebeb
The widths of each section should be:
-body: 960px
-section: 495px
The fonts used in the layout should be:
-font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
-font-size 18px 

Your CSS should have styles for each of the following elements:
-Header, nav, section, aside and footer
-Your text elements: h1, p, etc.

body {
	width: 960px; 
	background-color: #777;
	margin-left: 75px;
	font-family: 'Arial', 'Helvetica Neue', 'Helvetica', sans-serif;
	font-size: 18px;

/*This piece styles the header, nav, section, aside and footer tags with the background-color, 
text color, text-align and margin attributes*/
header, nav, section, aside, footer {

	background-color: #ebebeb;
	color: #777;
	text-align: center;
	margin-top: 10px;

/*This gives header, nav and footer height and padding height and pading attributes*/
header, nav, footer {
	height: 70px;
	padding-top: 10px;

/*This styles the section tag*/
section {
	width: 495px;
	height: 250px;
	padding-top: 10px;
	margin: 20px 0;
	display: inline-block;


/*This styles the article tag*/
article {
	background-color: #777;
	width: 475px;
	height: 180px;
	padding-top: 1px;

aside {
	width: 445px;
	height: 250px;
	padding-top: 10px;
	margin: 20px 0;
	float: right;


.headers, .paragraph {
	width: 445px;
	height: 40px;
	background-color: #ebebeb;
	padding-top: 10px;

.headers {
	margin: 0 15px;

.paragraph {
	margin: 10px 15px;

footer {
	clear: both;
	margin-top: 0;