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>

<!DOCTYPE html>
<html>
<main id="main">
  <figure id="img-div">
    <img id="image" src="https://www.investopedia.com/thmb/6Csf9SY8iD_DnBsLXHzDZBVlFPQ=/735x0/shutterstock_169450007-5bfc2f7f46e0fb002602296e.jpg" alt="Steve jobs the founder of apple">
    <figcaption id="img-caption">
      <u>Co-Founder of Apple Inc.</u>
    </figcaption>
  </figure>

  <h1 id="title">
    American Business Magnate
  </h1>

  <p>
    "Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose. You are already naked. There is no reason not to follow your heart."

    <cite><strong>- Steve Jobs</strong></cite>
  </p>

  <h2 id="tribute-info">
    Timeline of Notable Events
  </h2>
  <ul>
    <li><strong>1955-</strong>&nbsp;<u>February 25th:</u>&nbsp;Steven Paul was born in San Francisco, the son of Abdulfattah Jandali and Joanne Schieble. He was quickly adopted by Paul and Clara Jobs. </li>
    <li><strong>1960-</strong>&nbsp;<u></u>&nbsp;The Jobs family moves from San Francisco to Mountain View, a suburban town in Santa Clara county, more famous under the name Silicon Valley.</li>
    <li><strong>1969-</strong>&nbsp;<u></u>&nbsp;Steve Jobs meets Steve Wozniak, 5 years older, through a mutual friend. Woz and Steve share a love of electronics, Bob Dylan, and pranks.</li>
    <li><strong>1972-</strong>&nbsp;<u></u>&nbsp;Steve and Woz build and illegally sell 'blue boxes' that allow to make phone calls for free.</li>
    <li><strong>1973-</strong>&nbsp;<u></u>&nbsp;Steve spends the fall semester at Reed College, Oregon, then drops out. He will stay on campus and attend the classes that interest him for a while, then move to a hippie commune.</li>
    <li><strong>1976-</strong>&nbsp;<u>March:</u>&nbsp;Woz and Steve show the early Apple I board at the Homebrew Computer Club.</li>
    <li><strong>1976-</strong>&nbsp;<u>April 1st:</u>&nbsp;Apple Computer Inc. is incorporated by Steve Jobs, Steve Wozniak and Ron Wayne.</li>
    <li><strong>1976-</strong>&nbsp;<u>Spring:</u>&nbsp;</li>
    <li><strong>1955-</strong>&nbsp;<u>February 25th:</u>&nbsp;Steve and Woz start assembling Apple I computers in the Jobses' garage, and sell them to computer hobbyists, including 50 for the Byte Shop.</li>
    <li><strong>1976-</strong>&nbsp;<u>August 28th:</u>&nbsp;Steve Jobs and Woz show off the Apple I at the Personal Computing Festival in Atlantic City, with help from Dan Kottke.</li>
    <li><strong>1977-</strong>&nbsp;<u>January:</u>&nbsp;Former Intel executive turned business angel Mike Markkula invests in Apple and hires former colleague Mike Scott as CEO. Woz is forced to leave HP to join Apple full time.</li>
    <li><strong>1978-</strong>&nbsp;<u></u>&nbsp;The Apple II becomes the first mass-market personal computer, with impressive sales around the US. Apple becomes a symbol of the personal computing revolution. At the company, work starts on the Apple III and the Lisa.</li>
    <li><strong>1978-</strong>&nbsp;<u>May 17th:</u>&nbsp;Steve's ex-girlfriend Chris-Ann Brennan gives birth to their daugher Lisa. Steve refuses to acknowledge he is the father.</li>
    <li><strong>1980-</strong>&nbsp;<u>May:</u>&nbsp;Apple launches the Apple III, which will prove a disastrous flop.</li>
    <li><strong>1980-</strong>&nbsp;<u>December 12th:</u>&nbsp;Apple goes public, increasing Steve Jobs' net worth from dozens of millions of dollars to over $200 million.</li>
    <li><strong>1981-</strong>&nbsp;<u>August 12th:</u>&nbsp;IBM launches the IBM PC, the biggest threat to Apple's future yet.</li>
    <li><strong>1984-</strong>&nbsp;<u>January 24th:</u>&nbsp;Macintosh is launched in great fanfare at Apple's annual shareholder meeting.</li>
    <li><strong>1985-</strong>&nbsp;<u>May:</u>&nbsp;Palace coup: Apple's board sides with John Sculley and strips Steve off all executive duties.</li>
    <li><strong>1985-</strong>&nbsp;<u>Septemberth 17th:</u>&nbsp;Steve Jobs resigns from Apple and starts NeXT with five other refugees from Apple. Apple announces it will sue NeXT.</li>
    <li><strong>1986-</strong>&nbsp;<u>January 30th:</u>&nbsp;Jobs buys the computer division of George Lucas' ILM for $10 million and incorporates it as Pixar.</li>
    <li><strong>1989-</strong>&nbsp;<u>June:</u>&nbsp;Canon invests $100 million in NeXT, now valued at $600 million.</li>
    <li><strong>1991-</strong>&nbsp;<u>May:</u>&nbsp;Pixar signs a deal with Disney to make a computer-animated feature film.</li>
    <li><strong>1995-</strong>&nbsp;<u>November 29th:</u>&nbsp; One week after Toy Story is out, Pixar goes public. Steve Jobs's worth rises to $1.5 billion, more than it ever was during his first tenure at Apple.</li>
    <li><strong>1996-</strong>&nbsp;<u>December:</u>&nbsp;Apple, which was desperately looking for a modern operating system to buy, eventually buys NeXT for $400 million. Steve Jobs is named "informal adviser" to Apple CEO Gil Amelio.</li>
    <li><strong>1997-</strong>&nbsp;<u>Fall:</u>&nbsp;Apple starts its Think Different campaign to restore its damaged brand image. The new slogan will quickly enter popular culture and define the company for the next five years.</li>
    <li><strong>1998-</strong>&nbsp;<u>May 8th:</u>&nbsp;Steve Jobs introduces Apple's revolutionary iMac at the Flint Center auditorium in Cupertino, 14 years after he had introduced the Macintosh at that same place.</li>
    <li><strong>2000-</strong>&nbsp;<u>January 5th:</u>&nbsp;At Macworld San Francisco, Steve Jobs drops the 'interim' in his title and officially becomes Apple's CEO. He also demoes Mac OS X's revolutionary Aqua interface to a bewildered audience.</li>
    <li><strong>2001-</strong>&nbsp;<u>May 19th:</u>&nbsp;Apple opens its first Retail Stores in Tysons Corner, Virginia and Glendale, California.</li>
    <li><strong>2003-</strong>&nbsp;<u>October 16th:</u>&nbsp;Steve Jobs introduces iTunes for Windows and further demonstrates Apple's growing lead over its competitors in the digital music business.</li>
    <li><strong>2003-</strong>&nbsp;<u>Fall:</u>&nbsp;
      Steve Jobs is diagnosed with pancreatic cancer, but stubbornly refuses any modern medical treatment for months. He tries alternative diets instead.</li>
    <li><strong>2005-</strong>&nbsp;<u>June 12th:</u>&nbsp;Steve Jobs makes a memorable commencement speech at Stanford University. History will remember its closing remarks, Steve's advice to the young students: 'Stay hungry, stay foolish', a quote from the last page of the Whole Earth Catalogue from his youth.</li>
    <li><strong>2006-</strong>&nbsp;<u>January 24th:</u>&nbsp;Steve Jobs makes a memorable commencement speech at Stanford University. History will remember its closing remarks, Steve's advice to the young students: 'Stay hungry, stay foolish', a quote from the last page of the Whole Earth Catalogue from his youth.</li>
    <li><strong>2007-</strong>&nbsp;<u>January 9th:</u>&nbsp;In his most memorable keynote presentation ever, at Macworld 2007, Steve Jobs introduces iPhone and its revolutionary touch-screen interface. He also introduces Apple TV and announces the company's name change from Apple Computer Inc. to Apple Inc. to better reflect its new nature.</li>
    <li><strong>2008-</strong>&nbsp;<u>March 6th:</u>&nbsp;Apple announces it will open the iPhone platform to outside developers with the App Store. VC fund KPCB starts iFund to invest in the new mobile app economy that they (rightly) believe will sprout from it.</li>
    <li><strong>2010-</strong>&nbsp;<u>January 27th:</u>&nbsp;After months of wild rumors, Steve Jobs unveils iPad, 'the biggest thing Apple's ever done'. The tablet runs the same operating system as iPhone.</li>
    <li><strong>2011-</strong>&nbsp;<u>March 2nd:</u>&nbsp;Despite his medical leave, Steve Jobs takes the stage to unveil the new iPad 2.</li>
    <li><strong>2011-</strong>&nbsp;<u>June 6th:</u>&nbsp;At his last keynote at WWDC 2011, a freil Steve Jobs unveils Apple's cloud offering, iCloud, the foundation for the next decade of Apple products.</li>
    <li><strong>2011-</strong>&nbsp;<u>June 7th:</u>&nbsp;Steve Jobs appears at the Cupertino City Council to unveil Apple's plans for its new 'Spaceship' campus. This is his last public appearance.</li>
    <li><strong>2011-</strong>&nbsp;<u>August 24th:</u>&nbsp;Steve Jobs resigns as CEO of Apple, with the words 'I have always said if there ever came a day when I could no longer meet my duties and expectations as Apple's CEO, I would be the first to let you know. Unfortunately, that day has come.' Tim Cook becomes Apple CEO.</li>
    <li><strong>2011-</strong>&nbsp;<u>October 5th:</u>&nbsp;Steve Jobs dies at home, surrounded by his family.</li>
  </ul>

  <h3 id=""> If you'd like more information about this visionary visit his <a id="tribute-link" href="https://en.wikipedia.org/wiki/Steve_Jobs" target="_blank">Wikipedia Page</a>.
  </h3>

</main>

</html>
              
            
!

CSS

              
                #img-div {
  margin; 0;
}


#image {
  max-width: 100%;
  display: block;
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
  border-color: black;
  border-width: 3px;
  border-style: solid;
}

#img-caption {
  font-family: calibri;
  text-align: center;
  font-size: 20px;
}

#title {
  font-family: calibri;
  text-align: center;
  font-size: 50px;
  padding-top: 30px;
  padding-bottom: 0px;
}

#tribute-info {
  font-family: calibri;
  text-align: center;
}

p {
  border-radius: 10px;
  width: 60%;
  height: 100px;
  margin: 80px auto;
  background-image: linear-gradient(360deg, white, gray);
  font-family: calibri;
  font-size: 20px;
  text-align: center;
}

#headline {
  text-align: center;
}

ul {
  border-radius: 10px;
  width: 70%;
  height: 2045px;
  margin: 80px auto;
  background-image: linear-gradient(190deg, #d3d3d3, white, #d3d3d3);
  font-family: calibri;
  font-size: 20px;
  line-height: 40px;
}


h3 {
   font-family: calibri;
  text-align: center;
  font-size: 20px;
}

              
            
!

JS

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

              
            
!
999px

Console