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.



    <title>Tyson the Terrible</title>
  <h1 id="title">Tyson the Terrible</h1>
  <h2 id="subTitle">He IS, after all, a Terrier</h2>
    <img id="img-div" src=",l:0%25,w:100%25,h:75%25/rs=w:600,h:600,cg:true" alt="Scruffy black dog looking at camera." >
    <img-caption id="img-caption"> Tyson on a Fall Day </img-caption>
  <p id="listTitle"> Tyson's Terrible Traits </p>

      <ul id="tribute-info">
        <li>Barks at all who dare to pass by his fence</li>
        <li>Jumps seven feet high when provoked by those same enemies</li>
        <li>Digs holes and eats dirt like it's a fancy feast</li>
        <li>Surfs counters and tables when his people leave the house</li>
        <li>Steals and hides socks in split seconds</li>
        <li>Steals his sister's toys just to watch her have a meltdown - and gives them back only after she has suffered sufficiently</li>
        <li>Believes that vaccum cleaners and brooms are also his mortal enemies - and treats them accordingly</li>
  <a id="tribute-link" href="" target="_blank"> Click here to read a Poem about Tyson the Terrible</a>


  #main {

  #title {
    color: black;
    font-family: brush script mt;
    text-align: center;
    font-size: 60px;

  #subTitle {
    color: red;
    font-family: "courier new";
    text-align: center;

  #img-div {
    width: 60%;
    margin: auto;
    display: block;
    border-radius: 50%;
    max-width: 100%; height: auto;
  #img-caption {
    width: 7%;
    margin: auto;
    display: block;
    font-size: 14px;
    font-style: italic;
    font-weight: bold;

  #listTitle {
    font-size: 22px;
    color: green;
    text-align: center;

  #tribute-info {
    font-size: 20px;
    padding-left: 500px;

  #tribute-link {
    font-size: 20px;
    color: green;
    padding-left: 250px;




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