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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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>
<head>
<div id="main">
  <h1 id="title">Transgender Day of Remembrance 2018</h1>
  <div id="subtitle">A day created in honor of those lost to transphobic violence, since 1999.</div>
  <div id="img-div">
   <img id="image" src="https://upload.wikimedia.org/wikipedia/commons/f/fc/Candle_icon.png" alt "line of tealight candles lit">
    <div id="img-caption">
      Each year on November 20th, we gather, light candles, and read the names of those lost.
    </div>
  </div>
  <div id="tribute-info">
    <h3>A Short History</h3>
    <p>Also known as the <strong>International Transgender Day of Remembrance</strong>, TDoR is memorialized every year in numerous communities across North America and the world. The first TDoR was held by Gwendolyn Smith, a transgender woman, in 1999 in Allston, Massachussets, in honor of Rita Hester.</p>
    <p>The reason TDoR was created is because the news often misreports the deaths of transgender woman - calling them men - disgracing them in death, or ignoring their deaths. Often the deaths are due to violent means such as gun shots and stabbing, though there are worse accounts. The goal of the event is to raise awareness to the danger transgender people, especially transgender woman of color and sex workers, face in society.</p>
    <p>369 deaths were reported in 2018, the highest in recent years. This is most likely due in part to better methods of tracking deaths of trans people thanks to the <a target="_blank" href="https://transrespect.org/en/research/trans-murder-monitoring/">Trans Murder Monitoring Project</a> as well as an increase in visibility and risk for transgender individuals.<p>
    <p>If you wish to read up further on TDoR I reccomend <a target="_blank" href="https://www.glaad.org/tdor">GLAAD</a>, and if you wish to see the list of names you can <a target="_blank"  id="tribute-link" href="https://tdor.info/">click here</a>.</p>
  </div>
  </div>
              
            
!

CSS

              
                body {
  font-family:sans-serif;
  text-align:center;
  min-width:90vw;
  background: linear-gradient(to left, #33ccff 0%, #ff99cc 100%);
}
h1 {
  text-shadow: 2px 2px 5px white;
}

div {
  display:inline-block;
  width: 80vw;
  max-width:900px;
    box-shadow: 
      0 4px 8px 0 rgba(0, 0, 0, .1), 
      0 6px 20px 0 rgba(0, 0, 0, 0.4);
    text-align:center;
}

img {
  max-width:15%;
  display:block;
  width:auto;
  height:auto;
  margin:5px auto;
}
img:hover {
  opacity:.5;
}
p {
  margin:20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console