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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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>


<html>
   <main id= "main">
  
    <h1 id= "title" >Michelle Obama first Lady Of the United States</h1>
     
      <body>
     
       
     <div id="img-div">
          <img id= "image" class= "thick-black-border" src="https://media5.picsearch.com/is?ZrKrAYJwDficwQqS1gPkmy0LkalnjugSxBwU0Uw9eX0&height=341" alt= " A smiling photo of Michelle Obama">        
       </img>
        <div>        
     <h2 id= "img-caption">She is a First Lady of her own making</h2>               </div>
  <div  id= "tribute-info">
         <ul>
          <li claas= "li">Michelle Obama, whose full name is Michelle LaVaughn Robinson Obama was born on January 17 1964</li>
           
           <li> She was raised on the South Side of Chicago</li>
           
          <li>She is a graduate of Princeton University and Harvard Law School and spent her her early legal career working at the law firm Sidley Austin</li>
           
          <li>Sidley Austin is acutally where she met her now famous husband with whom she raised two beautiful daughters</li>
           
          <li>She also worked as the Associate Dean of Student Services at the University of Chicago, and as the Vice President for Community and External Affairs of the University of Chicago Medical Center</li>      
      
       
          <li>As first Lady she sought to become a role model for women</li>
          <li>An advocate for poverty awareness</li>          
          <li>She was also instrumental in education, teaching the values of  nutrition, physical activity and healthy eating choices</li>           
         <li>In the 2008 US presidential election, Mrs. Obama boasted, to gay Democrat groups, of her husband's record on LGBT rights: his support of the Illinois Human Rights Act, the Illinois gender violence act, the Employment Non-Discrimination Act, repealing Don't Ask Don't Tell, and full repeal of the Defense of Marriage Act, civil unions; along with hate crimes protection for sexual orientation and gender identity and renewed effort to fight HIV and AIDS. They have both been opponents of constitutional amendments banning same-sex marriage in the federal, California, and Florida constitutions. She said that the US Supreme Court delivered justice in the Lawrence v. Texas case and drew a connection between the struggles for gay rights and civil rights by stating "We are all only here because of those who marched and bled and died, from Selma to Stonewall, in the pursuit of a more perfect union."</li>
   </ul>
    </div>
        <div>
 <a id= "tribute-link" href= "https://en.wikipedia.org/wiki/Michelle_Obama" target= "_blank">To learn more about this extrordinary Woman click here Wikipedia has more</a>
    </div>
     </body>
      </main>
   </html>
                                                                       
 
    
   
  
  
 
              
            
!

CSS

              
                   
#main {
    background-color: skyblue;
 } 
#title {
  text-align: center;
}
  body {
        font-family: serif;
        font-size: 20px;
}
 
#img-div {
  
}
#image {
  margin: auto;
  max-width: 100%;
  display: block;
  height: auto; 
}

#img-caption: {
  margin: 1% 0 0 1%;

}
#tribute-info ul{
  margin: 0 auto;
  width: 50%;
}
#tribute-link {
  
}
#img {  
  
}
h2 {
  text-align: center;
} 

a {
 padding-left: 650px;
}

.thick-black-border {
    border-color: black;
    border-width: 15px;
    border-style: solid;
}

li {
  margin-top: 1%;
}

  
    








              
            
!

JS

              
                
              
            
!
999px

Console