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.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <!DOCTYPE html>
<head>
<title> Melissa |Portfolio </title>
<link rel="stylesheet" href="Css/normalize.css">
<link rel="stylesheet" href="Css/style.css">
<link href='https://fonts.googleapis.com/css?family=Lato|Open+Sans' rel='stylesheet' type='text/css'>
</head>
<body>
	<header class="main-header">
		<div class="container">
		<h1 class="name-1"> Melissa Orgill</h1>
	<ul class="main-nav ">
			<li>Home</li>
			<li>Portfolio</li>
			<li>Contact</li>
		</ul>
	</div>
		</header>
	<div class="primary clearfix">
	<div class="profile clearfix">
		<img class= "profile-photo"src="img/meresized.jpg" alt="Portfolio Pic">
	</div>
	<div class ="about-p  ">
		<p>Hi! I'm a front-end developer who loves responsive design and css. I recently finished a degree in front-end web development at Treehouse and am excited to put all my skills to use!</p>
	</div>
</div>
	<div class="portfolio clearfix">
		<h2>Portfolio</h2>
		<div class="box-1">
		<img class= "photos"src="img/portfolio-1resized.jpg" alt="Portfolio Pic">
		<h2>Marketing Page</h2>
		<p>This project shows the front page of a marketing website meant for a specific business I'm interested in</p>
	</div>
	<div class="box-2 ">
		<img class="photos" src="img/portfolio-2resized.jpg" alt="Portfolio Pic">
		<h2>Search Page</h2>
		<p>This project searches through a specific database to find information that the user is trying to look up</p>
	</div>
	<div class="box-3 ">
		<img class="photos" src="img/portfolio-3resized.jpg" alt="Portfolio Pic">
		<h2>Travel App</h2>
		<p>This project compares travel times based on different transportation methods and tells you the best one</p>
	</div>
	<div class="box-4 ">
		<img class="photos" src="img/portfolio-6resized.jpg" alt="Portfolio Pic">
		<h2>Map of Favorite Spots</h2>
		<p>This project uses mapping apis to plot points for my favorite spots in the city for a do-it-yourself walking tour</p>
	</div>
	<div class="box-5">
		<img class="photos" src="img/portfolio-5resized.jpg" alt="Portfolio Pic">
		<h2> Photo Gallery</h2>
		<p>This project shows pictures from a recent trip to the viewer and allows them to easily navigate through photos</p>
	</div>
	<div class="box-6 ">
		<img class="photos" src="img/portfolio-4resized.jpg" alt="Portfolio Pic">
		<h2>Calculator</h2>
		<p>Someone can enter in the numbers they want and press the big blue button and get the result</p>
	</div>
	</div>
	<div class="contact clearfix ">
		<h3>Contact</h3>
		<p >If you're interested in chatting or want information about what I've been working on, I'd love to hear from you!</p>
		<p>Phone +1(111)555-1234</p>
		<p> Email [email protected]</p>
	</div>
	<hr></hr>
	<div class="main-footer clearfix ">
	<footer>
		<ul>
		<li class="name-2">Melissa Orgill</li>
		<li class="top">BACK TO TOP</li>
		<li class="links">Home</li>
		<li class="links">Portfolio</li>
		<li class="links">Contact</li>
		</ul>

	</footer>
</div>

</body>


</html>
              
            
!

CSS

              
                /*Main Styles*/

body{
	background-color:snow;
}

/*Navigation*/


/*Base Layout Styles*/

.name-1{
	text-align:center;
	font-size:1.5em;
	font-family: 'Open Sans', sans-serif;
	color:dimgrey;
	
}
.main-nav li{
	text-align: center;
	list-style: none;
	font-size: 1em;
	background:#fff;
	color:dimgrey;
	margin-top:6px;
	margin-bottom: 6px;
	font-family: 'Open Sans', sans-serif;
	
}
h2{
	font-size:1em;
	color:dimgrey;
}
h2,h3{
	text-align:center;
	font-family: 'Open Sans', sans-serif;
}

p{
	text-align: center;
	font-family: 'Lato', sans-serif;
}
.about-p{
	color:dimgrey;
}

.profile-photo{
	display:block;
	margin-left: auto;
	margin-right: auto;
	max-width:200px;
	padding-top: 30px;
}
.about-me{
	color:dimgrey;
	padding-bottom: 20px;
}

.portfolio{
	background-color:#fff;
	padding-top: 20px;
	padding-bottom: 10px;
	color:dimgrey;
}
.photos{
	display:block;
	margin-left: auto;
	margin-right: auto;
	max-width:250px;
}
.contact{
	padding-top: 30px;
	padding-bottom: 20px;
	color:dimgrey;
}
.main-footer li{
	display: inline-block;
	list-style: none;
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	margin-right: 40px;
	color:dimgrey;

	
}

.links{
	visibility:hidden;
}

/*media queries*/
@media(min-width:768px){
	.clearfix::after{
  content:"";
  display:table;
  clear:both;
}
	.container{
		display:table;
		margin:0 auto;
	}
	.main-nav li{
		display:inline;
		background-color: snow;
		margin-right: 25px;
	}
	.profile{
		max-width:250px;
	}

	.profile{
		width:50%;
		float:right;
		padding-bottom: 20px;
	}
	.about-p{
		width:50%;
		float:left;
				
	}
	.portfolio,.contact,.primary{
		max-width:700px;

	}
	.box-1,.box-3,.box-5{
		width:50%;
		float:left;
	}
	.box-2,.box-4,.box-6{
		width:50%;
		float:right;
	}
	.top{
		visibility:hidden;

	}
	.name-2{
		width:275px;
	}
	.links{
		visibility: visible;
		float:right;
		
	}
	@media(min-width:1024px){
    
    .main-header {
      display: inline-block;
      width: 100%;
    }
    
    .container {
      margin: 0;
      width: 100%;
    }
    
    .name-1 {
      float: left;
      text-align: left;
    }
    
    .main-nav {
      float: right;
      position: relative;
    }
    
    .main-nav li {
      float: left;
    }

	.portfolio,.contact,.primary{
			width:90%;
			max-width: 1300px;

		}

		.box-1,.box-2,.box-3{
			width:33%;
			float:left;
		}
		.box-4,.box-5,.box-6{
			width:33%;
			float:left;
		}


		.links{
			float:right;
		}

	}
              
            
!

JS

              
                
              
            
!
999px
Be the developer your linter thinks you are.

Console