Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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.


Auto Save

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>
<link href="" rel="stylesheet">
<link href="" rel="stylesheet">

<main id="main">
  <header id="header">
  <h1 id="title"><strong>Thursday's Child</strong></h1>
  <p id="tribute-info"><strong>A Tribute Page to David Bowie</strong></p>
  <div id="img-div">
  <img id="image" src="" alt="David Bowie laughing, wearing a grey suit and a hat">
  <figcaption id="img-caption"><strong>David Bowie on Black Star photoshoot -which would be his last- on his birthday, 2016.</strong>
  <p>David Robert Jones, known as David Bowie, born January 8th, 1947 is probably the most versatile, creative, bold and missed musicians of all times.</p>
  <p>He performed in the greatest world stages, with the greates musicians of his time -David Gilmour, The Cure, just to mention a few- but he was also humble enough to talk to a five year old ans sing his favourite song.
    <p>You can find more information
      <a> <a id="tribute-link" a target="_blank" href="">about David Bowie, his life and work, here.



                /*Base Formatting*/

  #title {
    color: #f9f1f1;
    font-family: permanent marker;
    font-weight: bold;
    size: 48px;
    text-align: center;
    position: absolute;
    bottom: 300px;  
    left: 250px;
#header {
    background-color: #000000;
  background-position: center;
  background-repeat: no-repeat;
  height: 250px;
  #tribute-info {
   font-family: roboto;
    font-size: 24px;
    text-align: center;
    position: absolute;
    bottom: 250px;  
    left: 250px;
  div {
  color: #480f53;
  font-family: roboto;
  p {
  color: black;
  font-family: roboto;
  font-size: 20px;
  #image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
    border: solid black 2px;
    border-radius: 1rem;