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>-->
<div id="main">
  <div id="titleblock" class="divAnime">
    <h1 id="title">Lady <span id="Ada">A</span>da <span id=Lovelace>L</span>ovelace</h1>
    <div id="subtitle">The world's <span id="first">first</span> computer programmer!</div>
  </div>
  <div id="img-div">
    <div id="double-image-div">
      <img id="image" src="https://www.wired.com/wp-content/uploads/2015/12/19CSzmkHcdrK67YRDUVNxDw-1.jpeg" alt "picture of Ada Lovelace from wired.com">
    </div>
    <div id="img-caption">
      Ada Lovelace.
    </div>
  </div>
  <div id="tribute-info">
    <ul>
      <h3 id="headline">A short but <em>fantastic</em> summary of Ada's achievements:</h3>
      <li><strong>Childhood</strong> - Born in 1815 England. The only legitimate child of the infamous poet Lord Byron. Christened Augusta Leigh and called Ada by her father. She was often sick as a child, but still managed to cultivate a great interest in
        mathematics and technology.</li>
      <li><strong>Teen Years</strong> - At eighteen years of age, Ada fell in love with her tutor and attempted to elope with him but was prevented from doing so by her tutor's family. Her actions would have caused a great scandal if not for her mother and
        friends hiding the events from society.</li>
      <li><strong>Adult Years Before Marriage</strong> - Ada was a regular at court where she danced and charmed almost all those she met. She especially befriended scientists and mathematicians, most notably Mary Somerville and Charles Babbage.</li>
      <li><strong>Marriage and Scientific Endevours</strong> - In 1835, Ada married William King-Noel and went on to have three children. She continued her associations with renowned scientists, mathematicians and technologists and contributed her ideas to
        their endevours including a detailed set of notes on the workings of Babbage's analytical engine. She speculated that the engine would be capable of more than just adding numbers and even listed the shortcomings of the engine (making her the world's
        first debugger!). Most notably though she detailed in her notes an algorithm to calculate a sequence of Bernoulli numbers, making her the world's first published programmer.</li>
      <li><strong>Death and Post-humous Recognitions</strong> - Ada died when she was only 36 years of age. Posthumously she has been acknowledged by many organizations as one of the first people to recognize the possible applications of the computer and
        as the publisher of the first ever computer program in the book "Sketch of The Analytical Engine Invented by Charles Babbage". In 1980, the United States Department of Defense published a computer programming language named "Ada" in recognition
        of Ada Lovelace. To this day, her name is bestowed on software engineering awards, computing NGOs, and university buildings/structures.</li>
    </ul>
    <blockquote>
      <p>"I never am really satisfied that I understand anything; because, understand it well as I may, my comprehension can only be an infinitesimal fraction of all I want to understand about the many connections and relations which occur to me, how the
        matter in question was first thought of or arrived at, etc., etc."</p>
      <div>-- Ada Lovelace</div>
    </blockquote>
    <div id="References">
      <h3>If you are intrigued by this well known figure in computing history, watch this <a id="tribute-link" href="https://youtu.be/QgUVrzkQgds" target="_blank" />BBC video</a> or read more about her here <a id="tribute-link" href="https://en.wikipedia.org/wiki/Ada_Lovelace"
          target="_blank">Wikipedia entry</a>.</h3>
    </div>
  </div>
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Vidaloka);
@import url(https://fonts.googleapis.com/css?family=Niconne);
@import url(https://fonts.googleapis.com/css?family=Rouge+Script);

html,
body {
  font-family: "Vidaloka", Helvetica, sans-serif;
  text-align: center;
  min-width: 260px;
  color: #383853;
}

#Ada, #Lovelace {
  font-family: "Niconne", Helvetica, sans-serif;
  font-size: 85px;
}
#main {
  margin-top: 35px;
  padding: 15px;
  border: 0px solid;
  border-radius: 5px;
  background-color: #c691c9;

  background-image: radial-gradient(#f0f0f0 9px, transparent 10px),
    repeating-radial-gradient(
      #f0f0f0 0,
      transparent 2px,
      #f0f0f0 10px,
      transparent 12px,
      #f0f0f0 3px
    );
  background-size: 0px 10px, 40px 40px;
  background-position: 0 0;
}
#titleblock {
  border: 2px solid #383853;
  display: table;
  margin: 0 auto;
  margin-bottom: 10px;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-bottom: 0.9em;
  padding-top: 0.2em;
  border-radius: 15px 15px 15px 15px;
  text-align: center;
  font-size: 30px;
  background: radial-gradient(white 9px, transparent 10px),
    repeating-radial-gradient(
      hsl(253, 80%, 90%) 0,
      #f0f0f0 20px,
      white 54px,
      transparent 15px,
      white 11px,
      transparent 6px
    );
  background-size: 0px 40px, 10px 10px;
}
#title {
  font-size: 55px;
  margin-top: 0.3em;
  margin-left: 0.3em;
  margin-right: 0.3em;
}
#first:hover {
  display: inline-block;
  -webkit-transform: skewY(345deg);
  -moz-transform: skewY(345deg);
  transform: skewY(345deg);
}

#subtitle {
  font-size: 33px;
  margin-top: 0em;
  margin-bottom: 0.3em;
}

#first {
  font-size: 33px;
  font-style: italic;
  font-family: cursive;
  font-weight: bold;
  text-decoration: underline;
  color: #f97809;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-left: auto;
  border-radius: 50%;
  text-align: center;
  align: center;
  border: 10px ridge #503853;
}

#double-image-div {
 
 // border: 8px ridge #503853;
  max-width: 100%;
  display: table;
  margin: 20 auto;
}

#img-div {
  max-width: 100%;
  display: table;
  margin: 0 auto;
  //min-width: 50%;
  //float: center;
}

#img-caption {
  margin: 0 auto;
  margin-top: -48px;
  margin-bottom: 20px;
  font-size: 22px;
  font-style: bold;
  display: table;
  float: center;
  color: black;
  font-family: Niconne;
  border-radius: 50%;
  background: transparent;
  background-color: transparent;
}

#headline {
  margin-top: 50px;
  text-align: left;
}

ul {
  border: 1px solid #383853;
 /** max-width: 600px;**/
  margin: 0 auto;
  margin-top: 40px;
  text-align: left;
  background: radial-gradient(white 9px, transparent 10px),
    repeating-radial-gradient(
      hsl(253, 80%, 90%) 0,
      #f0f0f0 20px,
      white 54px,
      #f0f0f0 15px,
     #f0f0f0 15px,
      white 11px,
      #f0f0f0 6px
    );
  background-size: 0px 40px, 10px 10px;
  border-radius: 18px;
}

li {
  margin: 10px;
}
li strong {
  font-size: 30px;
  font-family: "Rouge Script", Helvetica, sans-serif;
}

blockquote {
  text-indent: 1em;
  border: 2px solid #383853;
  font-family: niconne;
  font-size: 25px;
  background: radial-gradient(white 9px, transparent 10px),
    repeating-radial-gradient(
      hsl(253, 80%, 90%) 0,
      #f0f0f0 20px,
      white 54px,
      #f0f0f0 15px,
      #f0f0f0 15px,
      white 11px,
      #f0f0f0 6px
    );
  background-size: 0px 40px, 10px 10px;
  border-radius: 30px 30px 30px 30px;
  padding: 15px;
  margin: 10px;
  text-align: left;
  float: inherit;
  display: inline-block;
  width: 60%;
}
#tribute-info {
  /**max-width: 600px;**/
  width: 75%;
  display: block;
  margin: 0 auto;
  float: center;
}

#References {
  border: 1px solid #383853;
  display: table;
  padding: 10px;
  margin: 0 auto;
  border-radius: 20px 20px 20px 20px;
  text-align: center;
  background: radial-gradient(white 9px, transparent 10px),
    repeating-radial-gradient(
      hsl(253, 80%, 90%) 0,
      #f0f0f0 20px,
      white 54px,
      #f0f0f0 15px,
      #f0f0f0 15px,
      white 11px,
      #f0f0f0 6px
    );
  background-size: 0px 40px, 10px 10px;
  font-size: 1em;
}
#tribute-link {
  color: hsl(203, 90%, 32%);
}

@media screen and (max-width: 833px) {
  blockquote {
    width: 75%;
  }
@media screen and (max-width: 500px) {
  blockquote {
    width: 75%;
  }
}
              
            
!

JS

              
                // !! IMPORTANT README:

/***********
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. 

              
            
!
999px

Console