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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.


                <script src=""></script>

    <title>Clara Campoamor - Tribute Page</title>


<main id="main">
  <h1 id="title">Clara Campoamor</h1>
  <h2>Spanish Sufragette</h2>
  <div id="img-div">

      id="image" src=""
      alt="A black and white portrait photograph of Clara Campoamor"
     <figcaption id="img-caption">
       Clara Campoamor
    <p id="tribute-info">
      <li>Born in Madrid in 1888.</li>
      <li>Started working at the age of 10, but studied for the University entrance exam alongside various jobs.
      <li>Completed a Law Degree in 1924, at the age of 36.
      <li>Elected to the Spanish Parliament of the <a href="" target= "_blank">Second Republic of Spain</a> in 1931, <strong>although she herself could not vote</strong>.</li>
        <li>Instrumental in drafting the Constitution of the Second Republic in which women were granted the right to vote. 
      <li>Failed to get re-elected in 1933.</li>
      <li>Subsequently fled Spain in 1939 after the arrival of Francisco Franco's fascist regime in Madrid.
      <li>Settled in Lausanne, Switzerland, then later Buenos Aires, Argentina, returning to Lausanne in 1955 where she lived until her death in 1972.
      <li>Her ashes were re-patriated to Spain after her death and lie in San Sebastian.</li>
    <img src="" alt="Clara Campoamor giving a speech">A great orator</a>
    <p>Read more about <a id="tribute-link" target="_blank" href="">Clara Campoamor in Wikipedia</a>.


                body {
  font-family: avenir;
  background-image:  linear-gradient(to right, darkseagreen, lightyellow, palegreen);
  color:  black;
  text-align: center;
  max-width:  80%;

h1  {
  background-color:  lightyellow;

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 30%;

ul {
  text-align:  justify;
  line-height:  150%;
  padding-top:  25px;
  padding-left:  30%;
  max-width:  50%;

#img-caption {
  font-family:  cursive;

#image {
  border-radius:  50%;
  border-color:  lightyellow;
  border-style:  solid;
  border-width:  6px;
  max-width:  100%;
  display:  block;


                document.getElementsByTagName("h1")[0].style.fontSize = "6vw";