css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

	<main id="main">
		<section id="title">
			<h1>Dr. Virginia Apgar</h1>
			<h2><em>She probably helped you be born</em></h2>

		<figure id="img-div">
			<img id="image" src="https://cfmedicine.nlm.nih.gov/static/img/gallery/012_23.jpg" alt="Dr. Virginia Apgar examines a newborn baby.">
			<figcaption id="img-caption">
				<p><strong>Dr. Virginia Apgar examines a newborn baby. (1966).</strong></p>
				<p><em>Public Domain. Source: National Library of Medicine.</em></p>

		<section id="timeline">
			<div id="timeline-left-gutter"></div>
			<div id="timeline-text">
				<div id="tribute-info">
					<h2>Timeline of Dr. Apgar's Life:</h2>
						<li><strong>1909</strong> - Born in Westfield, New Jersey
						<li><strong>1925</strong> - Graduates high school determined to be a doctor, spurred by her father's scientific hobbies and having witnessed one brother die from tuberculosis and another suffer from a chronic illness
						<li><strong>1929</strong> - Graduates Mt. Holyoke College with a major in zoology and minors in physiology and chemistry, generally being an overachiever, even pursuing her lifelong hobby of the violin with the university orchestra.
						<li><strong>1929</strong> - Enters medical school at the College of Physicians and Surgeons of Columbia University just as the Great Depression begins, where she will graduate fourth in her class.</li>
						<li><strong>1933</strong> - Gets a surgical internship at Columbia. While there, she is advised by her program director Dr. Alan Whipple (inventor of the pancreaticoduodenectomy, aka Whipple, procedure) to pursue the nascent field of anesthesiology,
							because it was hard out there for a female surgeon in the 1930s.</li>
						<li><strong>1937</strong> - Completes her surgical residency; seeks training in anesthesia. Since it wouldn't even recognized as a medical specialty for nearly a decade, she exhibits hustle once again, and finds her way over to UW Madison, where she
							trains for half a year in the nation's first department of Anesthesia before returning to New York to train for another half a year at Bellevue.</li>
						<li><strong>1938</strong> - She returns to Columbia Med as an attending anesthesiologist, and director of the department, of which she was the only member. The struggle remains real, since the work is less respected and less well-paid than surgery,
							to the point that she can't find people to hire.</li>
						<li><strong>1946</strong> - Anesthesia becomes a recognized specialty, which means that doctors must get residency-trained in it to practice it.</li>
						<li><strong>1949</strong> - Dr. Apgar becomes the first woman to be a full professor at Columbia's medical school when Anesthesia research becomes an academic department (incidentally proving Dr. Whipple right - he said that she had "the energy, intelligence,
							and ability needed to make significant contributions in [Anesthesiology].) Her work will focus on obstetric anesthesiology.</li>
						<li><strong>1952</strong> - Creates a "better medical mousetrap" - a method to tell whether the doctors in the delivery room need to do something to make a newborn baby start breathing. It requires no special equipment, and is easy to calculate.</li>
						<li><strong>1953</strong> - Publishes the scoring system that she first presented at a conference the prior year. This is the crowning achievement of her career, but she will have to fight to establish its validity, and in her typical badass fashion,
							she wins. Eventually, it will be remembered by medical students around the world using a mnemonic that immortalizes this god of American medicine: A.P.G.A.R. (short for Activity, Pulse, Grimace, Appearance, Respiration).</li>
						<li><strong>1959</strong> - Leaves Columbia and gets a Masters in Public Health from Johns Hopkins, and begins to work for the National Foundation for Infantile Paralysis, an organization that will become the March of Dimes.</li>
						<li><strong>1964</strong> - Becomes an advocate for universal vaccination during the rubella (German measles) pandemic that will cause 20,000 birth defects and 11,000 miscarriages or therapeutic abortions nationwide in just two years.
						<li><strong>1965</strong> - Begins lecturing at Cornell's medical school.</li>
						<li><strong>1967</strong> - Becomes Director of Basic Research for the March of Dimes.</li>
						<li><strong>1971</strong> - Becomes clinical professor of pediatrics at Cornell, teaching teratology, the study of birth defects. Picks up another first en passant, becoming the first doctor to hold a faculty position in this new area of pediatrics.
							Also becomes the vice president for medical affairs at the March of Dimes.</li>
						<li><strong>1972</strong> - Writes a book aimed at parents about birth defects with Joan Beck entitled, "Is my Baby Alright?"</li>

						<li><strong>1973</strong> - Appointed to lecturer in medical genetics at Johns Hopkins.</li>
						<li><strong>1974</strong> - Dies at age 65.</li>
						<li><strong>1994 and beyond</strong> - Continues to be honored posthumously, including getting a 20-cent US postage stamp made in her honor, which would probably have pleased her, given that stamp-collecting was among the many and varied interests of
							this fierce, active, and irrepressible doctor whose name graces the very first minute of all our lives.</li>
				<div id="quotes">
					<h4>"[She has] done more to improve the health of mothers, babies, and unborn infants than anyone in the twentieth century."</h4>
					<p><em>- Former Surgeon General Julius Richmond</em>
					<h4>"Nobody, but nobody, is going to stop breathing on me!"</h4>
					<p><em>- Virginia Apgar, M.D.</em>

				<div id="links">
					<p>For more information on Dr. Apgar's life and research, you can visit the <a href="https://cfmedicine.nlm.nih.gov/physicians/biography_12.html" target="_blank">National Library of Medicine's "Changing the Face of Medicine" page</a>, <a id="tribute-link"
						 href="https://en.wikipedia.org/wiki/Virginia_Apgar" target="_blank">Wikipedia</a>,
						<a href="http://women.jhu.edu/apgar" target="_blank">The Women of Hopkins</a>, or <a href="https://www.acog.org/Clinical-Guidance-and-Publications/Committee-Opinions/Committee-on-Obstetric-Practice/The-Apgar-Score" target="_blank">ACOG.</a></p>


			<div id="timeline-right-gutter"></div>

		<hr> Written and Coded by <a href="http://vipinjeetsandhu.com">Vipinjeet Sandhu</a>
  margin-top, margin-bottom: 40px;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

#title{ text-align: center; line-height: 2rem;}
h1{ font-size: 2.5rem; font-weight: 500;}
h2{ font-size: 2rem; font-weight: 500;}
h4{ font-size: 1.5rem; font-weight: 450; margin-bottom: 0px;}

  display: block;
  text-align: center;
  background-color: white;
  border-radius: 10px;
  width: auto;
  max-width: 500px;
	margin: 0 auto;

  width:100%;  height: auto; max-width: 268px; display: block; margin-left: auto; margin-right: auto;

#timeline{ display: flex; }
#timeline-left-gutter, #timeline-right-gutter{
	background-color: red;
	flex: 1 1 0px;
	background-color: green;
	flex: 1 1 500px;

  text-align: center;

 /* Link Styling */
a:link { color: #3380ff; }
a:visited { color: #3380ff; }
a:hover { color: #003FA3; }
a:active { color: #003FA3; } 

              // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................