HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
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.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<style>
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
</style>
<div class="jumbotron">
<div class="page-header">
<h1>John Vincent Atanasoff</h1>
</div>
<h2>The father of the computer</h2>
<div class="thumbnail">
<img src="https://c1.staticflickr.com/3/2408/2266720015_3a684f9f89_b.jpg" class="main img-responsive" alt="John Atanasoff" width="98%" height="450px" >
<p class="caption">John Vincent Atanasoff standing outside Atanasoff Hall, 1988</p>
</div>
</div>
<hr></hr>
<div class="container">
<h3>John Atanasoff's Timeline:</h3>
<ul>
<li><b>1903</b>- Born in Hamilton, New York</li>
<li><b>1912</b>- Learnt to use slide rule,followed shortly by the study of logarithms, and subsequently completed high school at Mulberry High School in two years.</li>
<li><b>1925</b>- received his bachelor of science degree in electrical engineering from the University of Florida, graduating with straight A's.</li>
<li><b>1926</b>- Earned a master's degree in mathematics.</li>
<li><b>1930</b>- Earned Ph.D. in theoretical physics from the University of Wisconsin–Madison with his thesis, The Dielectric Constant of Helium.</li>
<li><b>1936</b>- Atanasoff invented an analog calculator for analyzing surface geometry.</li>
<li><b>1939</b>- Atanasoff–Berry Computer (ABC) was prototyped.</li>
<li><b>1940</b>- Atanasoff first met Mauchly at meeting of the American Association for the Advancement of Science in Philadelphia, where Mauchly was demonstrating his "harmonic analyzer", an analog calculator for analysis of weather data. Atanasoff told Mauchly about his new digital device and invited him to see it.</li>
<li><b>1941</b>- Mauchly visited Atanasoff in Ames, Iowa for four days, staying as his houseguest.</li>
<li><b>1942</b>- Atanasoff left Iowa State for a wartime assignment as Chief of the Acoustic Division.</li>
<li><b>1943</b>- Mauchly visited Atanasoff multiple times in Washington and discussed computing theories.</li>
<li><b>1945</b>- The U.S. Navy had decided to build a large scale computer, on the advice of John von Neumann. Atanasoff was put in charge of the project.</li>
<li><b>1946</b>- The NOL computer project was shut down due to lack of progress, again on the advice of von Neumann.</li>
<li><b>1952</b>- He founded and led the Ordnance Engineering Corporation</li>
<li><b>1954</b>- IBM patent attorney A.J. Etienne sought Atanasoff's help in breaking an Eckert–Mauchly patent on a revolving magnetic memory drum, having been alerted by Clifford Berry that the ABC's revolving capacitor memory drum may have constituted prior art.</li>
<li><b>1956</b>- Became Aerojet's Atlantic Division president</li>
<li><b>1960</b>- Atanasoff and his wife Alice moved to their hilltop farm in New Market, Maryland for their retirement</li>
<li><b>1961</b>- He started another company, Cybernetics Incorporated, in Frederick, Maryland which he operated for 20 years.</li>
<li><b>1973</b>- Decision of Honeywell v. Sperry Rand, a federal judge named Atanasoff the inventor of the electronic digital computer.</li>
<li><b>1995</b>- Atanasoff died of a stroke at his home after a lengthy illness</li>
</ul>
<div class="quote alert ">
<h4>“To get ahead in the world you have to make a lot of noise, and maybe I didn't make enough.”</h4>
<h5>John Vincent Atanasoff</h5>
</div>
<p class="info">For more information visit John Atanasoff's <a href="https://en.wikipedia.org/wiki/John_Vincent_Atanasoff">Wikipedia page</a></p>
</div>
<hr></hr>
<footer>
<p class="footer">This site was created by <a href="https://codepen.io/Niikcety/#">Nikolai Neshev</a></p>
</footer>
body{
margin-left:10%;
margin-right:10%;
font-family:Verdana;
background-color:#99CCB2;
}
.jumbotron{
background-color:#998F94;
}
h1{
text-align:center;
font-size:3em;
margin-bottom:30px;
}
h2{
text-align:center;
margin-bottom:30px;
}
h3{
text-align:center;
font-size:2.1em;
margin-top:20px;
margin-bottom:20px;
}
.thumbnail{
margin-left:10%;
margin-right:10%;
background-color:#99CCB2;
border:1px solid #101010;
border-radius:25px 25px 25px 25px;
}
.main{
margin-left:1%;
margin-top:10px;
}
.caption{
text-align:center;
font-style:italic;
font-size:1.1em;
color:#202020;
margin-top:5px;
margin-bottom:5px;
}
hr{
clear:both;
margin-top:25px;
}
.footer{
text-align:center;
font-style:italic;
}
.info{
font-size:1.7em;
text-align:center;
}
ul{
width:60%;
margin-left:20%;
border:2px solid #99B8A8;
background-color:#99C2AD;
}
.quote{
width:70%;
margin-left:15%;
background-color:#998F94;
}
h4{
text-align:center;
font-size:2.3em;
font-style:oblique;
}
h5{
text-align:right;
font-size:2.1em;
padding-right:20px;
}
a{
color:#282828;
font-style:oblique;
}
a:hover{
color:#998F94;
text-decoration:none;
}
Also see: Tab Triggers