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>

<main id=main> 
<h1 id="title">Trevor Horn</h1>
<h2 id="tribute-info" class="tribute-info">"The man who invented the 80s"</h2>
<figure id=img-div> 
     <img id="image" class="image" src="" alt=Trevor Horn and Geoff Downs.</img>
    <figcaption id="img-caption"> Trevor (right) with Geoff Downes. </figcaption>
<h2>Here are some notable events in Trevor Horn's life:<h2>
    <li>Trevor Horn was born in England on July 15, 1949.</li>
    <li>His early career involved working for the BBC as a session musician.</li>
    <li>In 1978, Horn formed a band called the Buggles with Geoff Downes and Bruce Woolley.</li>
    <li>In 1980, the Buggles released their debut album "The Age of Plastic."
<li>In 1981, the Buggles' "Video Killed the Radio Star" is the first music video played on MTV, cementing their place in music history.</li>
    <li> Shortly after this, Downs and Horn were asked to join the progressive rock band Yes.</li>
    <li>They both joined the band, but Horn left shortly after to pursue a full-time career as a producer.</li>
    <li>Horn's influence on pop music production was widely felt, some notable artists he worked with as a producer include Yes, Seal, t.A.T.u., Belle & Sebastian, and Pet Shop Boys.</li>
    <li>Horn won a Grammy in 1995 for producing Seal's "Kiss from a Rose."</li>
    <li>In 2011, Horn was appointed Commander of the Order of the British Empire for his work in music.</li>
  Learn more about Mr. Horn's incredible accomplishments at his <a id=tribute-link target=_blank href="">Wikipedia page</a>.


                #main {
  background-color: red;
  text-align: center;
body {
  background-color: red;
  padding: 0;
  margin: 0;
  font-family: "Courier New"
#image {
  max-width: 100%;
  display: block;
  height: auto;
.image {
  margin-left: auto;
  margin-right: auto;

ul {
  margin-left: 15%;
  margin-right: 15%;
  text-align: left;
  font-size: 20px;
li {
  padding-bottom: 18px;
h1 {
  margin-top: 0;
  padding-top: 10px;
  font-size: 34px;
h2 {
  font-size: 30px;
.tribute-info {
  font-size: 25px;
footer {
  padding-bottom: 5px;
  margin-bottom: 0;


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

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - 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.