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

              
                <!--
TODO: update with future FCC projects.
=========
Unfinished business:
TOIMPROVE: Improve scrollspy behavior so that such large padding-top isn't needed on each .section

Finished business:
Made image sizes responsive in portfolio section.
Made nav-brand-image responsively sized with some cludgy hand-tooled CSS
-->

<body data-spy="scroll" data-target="#navmenu" data-offset="63">
	<nav class="navbar navbar-expand-md navbar-dark brandblue fixed-top" id="navmenu" >
		<a class="navbar-brand">
		<img class="nav-brand-image" src="http://vipinjeetsandhu.com/images/BW_Scaryface_icon.jpg" alt="Vipatron icon">
	</a>
		<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
		<span class="navbar-toggler-icon"></span>
	</button>
		<div class="collapse navbar-collapse justify-content-end" id="collapsibleNavbar">
			<ul class="navbar navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="#about">About</a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="#portfolio">Portfolio</a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="#contact">Contact</a>
				</li>
			</ul>
		</div>
	</nav>

	<div id="content">
		<div class="row brandbrown">
			<div class="col-sm-1 col-lg-2"></div>
			<div class="col-sm-10 col-lg-8">
				<div class="container-fluid text-center">
					<div id="about" class="brandbrownlighter section">
						<h2>About</h2>
						<p>Self-taught Hobbyist Desktop Programmer and Future Full-Stack Web Developer, interested in Next-Gen E-learning Systems for Biomedical Education, Gamification, Video Production, and Algorithmic Medicine</p>
						<div class="row">
							<div class="col-3">
								<hr>
							</div>
							<div class="col-6">&ltProgrammer/Doctor\Teacher&gt</div>
							<div class="col-3">
								<hr>
							</div>
						</div>
					</div>
					<div id="portfolio" class="brandwhite section">
						<h2>Portfolio</h2>
						<div class="row justify-content-around py-3">
							<div class="col-sm-5">
								<a href="http://vipinjeetsandhu.com/FreeCodeCamp/Tribute/" target="_blank"><img class="w-100 img-thumbnail" src="http://vipinjeetsandhu.com/images/Portfolio/Tribute_Apgar_thumbnail.png" alt="Thumbnail of Tribute Page for Dr. Virginia Apgar"></a>
							</div>
							<div class="col-sm-5">
								<a href="http://doctorsandhu.com" target="_blank"><img class="w-100 img-thumbnail" src="http://vipinjeetsandhu.com/images/Portfolio/Doctorsandhu_Thumbnail.png" alt="Thumbnail of DoctorSandhu.com website"></a>
							</div>
						</div>
						<div class="row justify-content-around py-3">
							<div class="col-sm-5">
								<a href="http://vipinjeetsandhu.com/pixels/" target="_blank"><img class="w-100 img-thumbnail" src="http://vipinjeetsandhu.com/images/Portfolio/Pixel_Width_Thumbnail.png" alt="Thumbnail of Display Pixel Width Tool"></a>
							</div>
							<div class="col-sm-5">
								<a href="http://doctorsandhu.com" target="_blank"><img class="w-100 img-thumbnail" src="http://vipinjeetsandhu.com/images/Portfolio/Doctorsandhu_Thumbnail.png" alt="Thumbnail of DoctorSandhu.com website"></a>
							</div>
						</div>
					</div>
					<div id="contact" class="brandbluelighter lastsection">
						<h2>Contact</h2>
						Around the Web
						<div style="font-size:2em">
							<a href="https://twitter.com/Vipatron" target="_blank"><span class="fab fa-twitter-square"></span></a>
							<a href="https://codepen.io/vipatron/" target="_blank"><span class="fab fa-codepen"></span></a>
							<a href="https://github.com/vipatron" target="_blank"><span class="fab fa-github"></span></a>
						</div>
					</div>
				</div>
			</div>
			<div class="col-sm-1 col-lg-2"></div>
		</div>
	</div>
	<footer class="text-center brandblue">
		Coded and Written by Vipatron
	</footer>
</body>
              
            
!

CSS

              
                .brandblue {
	background-color: #3380ff;
}

.brandbrown {
	background-color: #99aa66;
}

.brandbluelighter {
	background-color: #5af;
}

.brandbrownlighter {
	background-color: #bc8;
}

.brandwhite {
	background-color: #fff;
}

body {
	position: relative;
}

.section {
	/*navbar-expand-md height is 72px*/
	padding-top: 72px;
}

.lastsection {
	padding-top: 5px;
}
/*The following is a cludgy hack,
TOIMPROVE: Not this - some responsive way to size the image.
@media screen and (max-width: 767px) {
	.nav-brand-image {
		height: 40px;
		margin-top: 0px;
	}
}
@media screen and (min-width: 768px) {
	.nav-brand-image {
		height: 40px;
	}
}*/
.nav-brand-image{
	height: 40px;
}

/*The following is testing CSS*/
#leftGutter {
	background-color: red;
}
#rightGutter {
	background-color: green;
}

              
            
!

JS

              
                
              
            
!
999px

Console