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>

<link href="https://fonts.googleapis.com/css?family=Cinzel|Crimson+Text" rel="stylesheet">

<main id="main">

<div id="background-header">
<h1 id="title">
  Marsha P. Johnson 
  <span>
  1945 - 1992
  </span>
</h1>
</div> <!--end of div background header-->
  
<div id="img-div">
<div class="title2">In recognition, gratitude and loving memory of...</div>
<img-div id="image">
<img src="https://storiescdn.hornet.com/wp-content/uploads/2018/06/14043959/1073349-marsha-p-johnson-1jpg.jpg" alt="Marsha P. Johnson wearing a flower crown and smiling big." class="center">
</img-div>
  
<div id="img-caption"> 
  Saint of Justice for homeless trans and queer street youth, HIV+ & AIDS+ rights, defender and protector of rejected trans and queer people. 
</div> 
  
</div> <!--end of div id img div-->
  
<p id="tribute-info"> Marsha "Pay It No Mind" Johnson was a trans revolutionary and one that should never be forgotton by the queer community. A person who constantly fought for trans and queer people in so many ways is known more for her involvement in the StoneWall Riots, she can be remembered for the following crucial ways she showed her unending support for herself and her community.<a id="tribute-link" target="_blank" href="https://tinyurl.com/ya84j8e2">Click this link to read about her life</a> and why Marsha p. Johnson is the trans revolutionary you should know, especially as trans and queer people. Read below for some of her community projects and efforts.</p>
  
<div style="float:left; width:50%;">
<ul>
  <li>STAR (Street Transvestite Action Revolutionaries)
  <li>Stonewall Riots [1969]
  <li>Modelled for Any Warhol [1975]
  <li>Toured with Hot Peaches as a drag performer
</div> <!--end for float left tribute facts-->
<div style="float:right; width:50%;"> 
<ul>
  <li>Rallied for Gay Rights
  <li>Demonstarted on Wall Street with ACT UP [1980]  
  <li>Cared for AIDS+ friends [1990]
  <li>Anti-police and for social and ecominc justice
</ul>
</div> <!--end for right float tribute dacts-->

<p id="STAR">Marsha P. Johnson along with her dear friend Sylvia Riviera co-found STAR in the 1970's to house, clothe, feed and advocated for trans youth. 
<br>
<br>Marsha modelled for Andy Warhol, find the <a target="_blank" href="https://www.masterworksfineart.com/artists/andy-warhol/ladies-and-gentlemen-series-1975">link to this series here"</a>
</p>
<p id="ACTUP">ACT UP is the AIDS Coalition To Unleash Power. Marsha would be found demostrating at Wall Street in protest of the inaccessible and unconsciously priced AIDS experiemental medication and treatment. 
<br>
<br>Let us all remeber this trans revolutionary and be grateful for her life and efforts that got us to where trans and queer people are now, let's honor her by continuing the revolution. 
<hr></hr>
</p>

</main> <!--end of main-->
              
            
!

CSS

              
                #main{
  background-color:rgba(81,8,189,0.06); 
  padding-bottom:200px;
}

#background-header{
  background-color:rgba(44,8,98,0.98);
  padding:1px; 
}

h1{
  font-family:cinzel,bell mt;
  color:white;
  text-align:left;
  margin-left:40px;
}

h1 span{
  font-size:18px;
  display:in-line;
  float:right;
  margin:10px;
  padding-right:40px;
}

.title2{
  text-align:center; 
  color:rgb(64,48,105,100); 
  padding-top:15px; 
  font-size:22px;
}

#img-div{
  margin-left:auto;
  margin-right:auto;
  margin-top:15px; 
  padding:15px;
}

#image{
  max-width:100%;
  display:block; 
  height:auto;
  padding:20px;
}

.center{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:70%;
}

#img-caption{
  text-align:center;
  font-size:18px;
  padding-bottom:0px;
  padding-left:115px;
  padding-right:115px;
  color: rgb(64,48,105,100);
}

#tribute-info{
  font-family:Crimson Text;
  font-size:22px;
  color:rgb(64,48,105,100);
  text-align:left;
  padding-left:40px;
  padding-right:40px;
  padding-top:10px;
  padding-bottom:10px;
}

ul{
  font-size:18px;
  font-family:Crimson Text
  color:rgb(44,8,98,0.98);
  margin-left:30px;
  padding-bottom:30px;
}

#STAR{
  font-family:Crimson Text;
  font-size:22px;
  color:rgb(64,48,105,100);
  text-align:left;
  padding-left:40px;
  padding-right:40px;
  padding-top:10px;
  padding-bottom:10px;
}

#ACTUP{
  font-family:Crimson Text;
  font-size:22px;
  color:rgb(64,48,105,100);
  text-align:left;
  padding-left:40px;
  padding-right:40px;
  padding-top:10px;
  padding-bottom:10px;
}

hr{margin:25px;}
              
            
!

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