cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <html>

<head>
<!-- First of two of the homework assignments. Link to instructions is here:
https://github.com/the-Coding-Boot-Camp-at-UT-Austin/07-16-NCC-Class-Content/blob/master/Class-Content/01-html-css-three-days/2-Homework/Instructions/easier-homework-assignment.md  -->


<!--Instructions: 
Your HTML should have each of the following sections:
-Header
-Nav
-Aside
-Section
-Article (With a Heading)
-Headers
-Paragraph
-->
	<title>Nigel's HW-Wireframe Homework Assignment</title>

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

</head>

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

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

		<p> header </p>

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

		<p> nav </p>

	</nav>

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

		<p> section </p>

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

			<p>article</p>

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

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

		</article>

	</section>

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

		<p> aside </p>

	</aside>

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

		<p>footer </p>

	</footer>

</body>
</html>
            
          
!
            
              /*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:
-Body
-Header, nav, section, aside and footer
-Section
-Aside
-Article
-.clear
-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;
	color:#ebebeb;
	width: 475px;
	height: 180px;
	margin:10px;
	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;
	color:#777;
	padding-top: 10px;

}
.headers {
	margin: 0 15px;
}

.paragraph {
	margin: 10px 15px;
}

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

	
            
          
!
999px
Loading ..................

Console