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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<!DOCTYPE html>
<html>
 <!-- for hiding quote with @media -->
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<head>

	<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js">
	</script>
	<link href='https://fonts.googleapis.com/css?family=Cinzel Decorative' rel='stylesheet'><!--header-->
	<title></title>
</head>
<body>
	<div id="main">
		<div class="jumbotron">
			<h1 id="title">Grace Brewster Murray Hopper</h1>
		</div><br>
		<div id="main-box">
			<!--first image and quote-->
			<div class="container">
				<div id="img-div">
					<a href="#1"><img alt="image of young Hopper" class="border" id="image" src=https://nails.newsela.com/s3/newsela-media/article_media/2018/01/bio-scientist-grace-hopper-e793a61e.jpg?crop=123%2C466%2C3183%2C2191&height=498&width=885>
					<div class="caption">
						<h2><span>"The most dangerous phrase in<br>
						our language is:<br>
						We've always done it that way."<br>
						-Hopper</span></h2>
					</div></a> <!--caption under image-->
					<div id="img-caption">
						<b>Amazing Grace, paving the way for todays progammers</b>
					</div>
				</div>
			</div><!--biography-->
			<h1 id="tribute-info">Biography:</h1>
			<p>Born December 9th, 1906 Grace Hopper was to become an American computer scientist and United States Navy rear admiral. She is most well known for being among the first computer programmers. Being a pioneer in the industry lead to her being one of the first programmers of the Harvard Mark 1 computer as well as inventing one of the first compiler related tools. The idea of machine independent programming languages was made popular by Hopper which lead to the development of the early programming language COBOL. COBOL is still in use today and is primarily used in business, finance, and administrative systems for companies and governments. Grace passed away in her sleep from natural causes on January 1st, 1992. She was 85 years young. Without Grace Hoppers early contributions to programming the computer and tech industry would not be nearly as advanced as it is today. To learn more about Grace Hopper and the productive life she led <a href="https://en.wikipedia.org/wiki/Grace_Hopper" id="tribute-link" target="_blank">Click Here</a> .</p><!--awards/timeline/second image-->
			<h1>Awards & Accomplishments:</h1>
			<ul>
				<li><img alt="Hopper standing next to computer" class="second-img border" id="" src="https://www.menosfios.com/wp-content/uploads/2017/03/hopper-tech.jpg"><b>1964:</b> Hopper recieved the Society of Women Engineers Achievement Award.</li>
				<li><b>1969:</b> Hopper was awarded the inaugural Data Processing Management Association Man of the Year award.</li>
				<li><b>1971:</b> The annual Grace Murray Hopper Award for Outstanding Young Computer Professionals was established in 1971.</li>
				<li><b>1973:</b> First American and the first woman of any nationality to be made a Distinguished Fellow of the British Computer Society.</li>
				<li><b>1982:</b> American Association of University Women Achievement Award and an Honorary Doctor of Science from Marquette University.</li>
				<li><b>1985:</b> Honorary Doctor of Letters from Western New England College.</li>
				<li><b>1986:</b> Upon her retirement, she received the Defense Distinguished Service Medal.</li>
				<li><b>1986:</b> Honorary Doctor of Science from Syracuse University.</li>
				<li><b>1987:</b> The first Computer History Museum Fellow Award Recipient "for contributions to the development of programming languages, for standardization efforts, and for lifelong naval service."</li>
				<li><b>1988:</b> Golden Gavel Award.</li>
				<li><b>1991:</b> National Medal of Technology.</li>
				<li><b>1991:</b> Elected a Fellow of the American Academy of Arts and Sciences.</li>
				<li><b>1994:</b> Inducted into the National Women's Hall of Fame.</li>
				<li><b>1996:</b> USS Hopper (DDG-70) was launched. Nicknamed Amazing Grace, it is on a very short list of U.S. military vessels named after women.</li>
				<li><b>2001:</b> Eavan Boland wrote a poem dedicated to Grace Hopper titled "Code" in her 2001 release Against Love Poetry.</li>
				<li><b>2001:</b> The Gracies, the Government Technology Leadership Award were named in her honor.</li>
				<li><b>2009:</b> The Department of Energy's National Energy Research Scientific Computing Center named its flagship system "Hopper".</li>
				<li><b>2009:</b> Office of Naval Intelligence creates the Grace Hopper Information Services Center.</li>
				<li><b>2013:</b> Google made the Google Doodle for Hopper's 107th birthday an animation of her sitting at a computer, using COBOL to print out her age. At the end of the animation, a moth flies out of the computer.</li>
				<li><b>2016:</b> On November 22, 2016 Hopper was posthumously awarded a Presidential Medal of Freedom for her accomplishments in the field of computer science.</li>
				<li><b>2017:</b> Hopper College at Yale University was named in her honor.</li>
			</ul>
		</div><!--footer-->
		<footer>
			Written and coded by: <a href="https://codepen.io/hatbearingoctopus/" target="_blank">Hatbearingoctopus</a>.
		</footer>
	</div>
</body>
</html>

              
            
!

CSS

              
                
/* Header styling */

.jumbotron {
	text-align: center;
	background-color: #3973ac;
	padding: 5px;
	font-size: 28px;
}
/* font and sizing for main */

body {
  font-family: 'Cinzel Decorative';
	font-size: 20px;
}
/* image styling */

img {
	display: block;
	height: auto;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 2px;
}
/* border around images */

.border {
	border-style: solid;
	border-width: 2px;
	border-color: #404040;
}
/* container around first image/quote/caption */

.container {
	position: relative;
	text-align: center;
	color: black;
	font-size: 12px;
}
/* Quote  layout */

h2 {
	z-index: 2;
	position: absolute;
	top: 30%;
	right: 20%;
	width: 100%;
	display: block;
	margin: auto;
}
img {
	display: block;
}
/* Quote styling */

h2 span {
	color: white;
	font: bold 24px/45px Helvetica, Sans-Serif;
	letter-spacing: -1px;
	background: rgb(0, 0, 0);
	/* fallback color */
	background: rgba(0, 0, 0, 0.7);
	padding: 10px;
  @media all and (min-width: 380px) {
        h2 {
            color: blue;
            font-size:26px;
        }
    }
}

/* bottom right image */

.second-img {
	float: right;
}
/* main background */

#main {
	background-color: #c6d9ec;
	margin: 20px;
	padding: 10px 10px 10px 10px;
}
/* biography content */

p {
	position: relative;
	text-align: center;
	color: black;
}

/* removes caption over image at 400px */
@media only screen and (max-width: 400px) {
.caption {
display: none;
}
}
/* footer */
a {
  color:#e6ffff;
}
footer {
	text-align: center;
	font-size: 15px;
  font-weight: normal;
	background-color: #3973ac;
}
              
            
!

JS

              
                
              
            
!
999px

Console