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 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.
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 Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
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.
<main id="main">
<h1 id="title">Albert Einstein</h1>
<p>Una mente brillante</p>
<figure id="img-div">
<img
id="image"
src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBYWFRgVFhYYGRgYGBoaGBgaGhgZGBkZGBgaGhgYGhgcIS4lHB4rHxgYJjgmKy8xNTU1GiQ7QDs0Py40NTEBDAwMBgYGEAYGEDEdFh0xMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMf/AABEIAKgBLAMBIgACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAAEBQMGAAECBwj/xAA7EAABAwIEAwUHAwMDBQEAAAABAAIRAyEEEjFBBVFhBiJxgZETMqGxweHwQlLRYnKCFKLxByMzksIV/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AFVNbcVumF0WIOqZRdJD02Iyk1AQ0IimFwxqOwxAE630OnogKwVKQdiQIMad4En0TVrCLtAgwJdqQN+iHw2IgXBIcNAJNt+n2Q2J4uR+gkC1hePJA7w+GBuTI5G5B8eSZNdCqWE4l+phLTu12k/JMaHFRPI7jkenTVBYZW0oHEWwet467haPEQRIP4I1QOMy2lGGxw1J1EeYtCPpVgT+eaAhacwHULg1Asz9EHJwzbGBI0O9+qHxnDWP95oJykTAmCIIRmZbBQea9p+ABziCzKxjXRUblLm5G5+8DBcCNp28JoeJpFjoJBBALXCYc06ESAfIr3/G4UPYW7kG/iIvz5LxjtPw92GApPGri5ng3uk62nUjqECem5EscgGuRF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Ydkd7NztpA75B/ukeQWliC69ueOjCYZ0HvvGRg8dXeQ+i+fKrySXG5P1WLEGYYXlMWHZYsQLcY2Co8PUymVixAzxxzNY8f2n5hCirdYsQHYav8ApNwfqm/Z3FezrZDo638LFiCz4hqWYgawsWIFddqXV2LFiAJ4UD2rFiCJwXJCxYgzKthixYglYxTZFtYg/9k="
alt="Albert Einstein, fisico alemán ganador del premio novel de fisica"
/>
<figcaption id="img-caption">
Albert Einstein fue un físico alemán de origen judío, nacionalizado después suizo, austriaco y estadounidense. Se le considera el científico más importante, conocido y popular del siglo XX.
</figcaption>
</figure>
<section id="tribute-info">
<h3 id="headline">Linea de tiempo de la vida de Albert Einstein:</h3>
<ul>
<li><strong>1879</strong> - Nace en Ulm.</li>
<li>
<strong>1896</strong> - Inicia sus estudios superiores en el Instituto Federal de Tecnología de Zurich.
</li>
<li>
<strong>1901</strong> - Adquiere la nacionalidad suiza.
</li>
<li>
<strong>1902</strong> - Ingresa como funcionario en la Oficina Federal de Patentes en Berna.
</li>
<li>
<strong>1903</strong> - Contrae matrimonio con Mileva Maric, con la que tendrá dos hijos.
</li>
<li>
<strong>1905</strong> - Publica sus primeros artículos en los que aborda los campos del movimiento browniano, el efecto fotoeléctrico y la relatividad especial.
</li>
<li>
<strong>1909</strong> - Consigue su primera plaza de profesor titular en la Universidad de Zurich.
</li>
<li>
<strong>1913</strong> - Es nombrado director del Instituto de Física Kaiser Wilhelm en Berlín.
</li>
<li>
<strong>1916</strong> -Publica la Teoría general de la relatividad.
</li>
<li>
<strong>1919</strong> - Divorciado de Mileva, contrae matrimonio con Elsa, una prima suya.
</li>
<li>
<strong>1920</strong> - Conoce a Leo Szilard, con quien desarrollará inventos como un frigorífico y una bomba electromagnética sin piezas móviles.
</li>
<li><strong>1921</strong> - Recibe el Premio Nobel de física.</li>
<li>
<strong>1933</strong> - Abandona Alemania y vive exiliado en Francia, Bélgica, Reino Unido y Estados Unidos, país este último donde es recibido con entusiasmo. Allí será catedrático de física teórica en el Instituto de Estudios Superiores de Princeton.
</li>
<li>
<strong>1939</strong> - Carta a Roosevelt en la que le solicita emprender un programa de investigación sobre la bomba atómica.
</li>
<li>
<strong>1940</strong> - Adopta la nacionalidad estadounidense.
</li>
<li><strong>1945</strong> - Se retira de la docencia para poder desarrollar con exclusividad sus investigaciones teóricas.</li>
<li><strong>1955</strong> - Muere en Princeton (EE.UU.).</li>
</ul>
<blockquote
cite="http://iesostippo.es/electricidad/index.php/10-noticias/66-quince-frases-geniales-de-albert-einstein#:~:text=%22El%20secreto%20de%20la%20creatividad,no%20dejar%20de%20hacerse%20preguntas%22."
>
<p>
"Todos somos muy ignorantes. Lo que ocurre es que no todos ignoramos las mismas cosas".
</p>
<cite>-- Quince frases geniales de Albert Einstein</cite>
</blockquote>
<h3>
Si quieres conocer mas sobre la vida de Albert Einstein ingresa al siguiente enlace
<a
id="tribute-link"
href="https://es.wikipedia.org/wiki/Albert_Einstein"
target="_blank"
>Entrar a Wikipedia</a
>.
</h3>
</section>
</main>
html {
/* Setting a base font size of 10px give us easier rem calculations
Info: 1rem === 10px, 1.5rem === 15px, 2rem === 20px and so forth
*/
font-size: 10px;
}
body {
/* Native font stack https://getbootstrap.com/docs/4.2/content/reboot/#native-font-stack */
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
'Helvetica Neue', Arial, sans-serif;
font-size: 1.6rem;
line-height: 1.5;
text-align: center;
color: #333;
margin: 0;
}
h1 {
font-size: 4rem;
margin-bottom: 0;
}
@media (max-width: 460px) {
h1 {
font-size: 3.5rem;
line-height: 1.2;
}
}
h2 {
font-size: 3.25rem;
}
a {
color: #477ca7;
}
a:visited {
color: #74638f;
}
#main {
margin: 30px 8px;
padding: 15px;
border-radius: 5px;
background: #eee;
}
@media (max-width: 460px) {
#main {
margin: 0;
}
}
img {
max-width: 100%;
display: block;
height: auto;
margin: 0 auto;
}
#img-div {
background: white;
padding: 10px;
margin: 0;
}
#img-caption {
margin: 15px 0 5px 0;
}
@media (max-width: 460px) {
#img-caption {
font-size: 1.4rem;
}
}
#headline {
margin: 50px 0;
text-align: center;
}
ul {
max-width: 550px;
margin: 0 auto 50px auto;
text-align: left;
line-height: 1.6;
}
li {
margin: 16px 0;
}
blockquote {
font-style: italic;
max-width: 545px;
margin: 0 auto 50px auto;
text-align: left;
}
// !! 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.
/***********
INSTRUCTIONS:
- Select the project you would
like to complete from the dropdown
menu.
- Click the "RUN TESTS" button to
run the tests against the blank
pen.
- 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.
Also see: Tab Triggers