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

              
                <head>
    <title> Tribute to Michael Jackson </title>
    <link href='https://fonts.googleapis.com/css?family=Allura' rel='stylesheet'>
    <link href='https://fonts.googleapis.com/css?family=Almendra SC' rel='stylesheet'>
    <link href='https://fonts.googleapis.com/css?family=Barlow Semi Condensed' rel='stylesheet'>
  </head>
  <body>
      <main id="main">
      <h1 id= "title"> Michael Jackson </h1>
      <figure id= "img-div">
        <img src= "https://upload.wikimedia.org/wikipedia/commons/3/31/Michael_Jackson_in_1988.jpg" alt="Image of Michael Jackson" id="image" class="responsive">
        <figcaption id="img-caption"> The king of pop </figcaption>
          </figure>
      <h2 id="tribute-info">Life and Career</h2>
        <ul>
          <li>Michael Joseph Jackson (August 29, 1958 – June 25, 2009) was an American singer, songwriter, and dancer. Dubbed the "King of Pop", he is regarded as one of the most significant cultural figures of the 20th century and one of the greatest entertainers in the history of music.</li>
          <li>Through stage and video performances, he popularized complicated dance techniques such as the moonwalk, to which he gave the name. His sound and style have influenced artists of various genres. Jackson's contributions to music, dance, and fashion, along with his publicized personal life, made him a global figure in popular culture for over four decades.</li>
          <li>The eighth child of the Jackson family, Jackson made his professional debut in 1964 with his elder brothers Jackie, Tito, Jermaine, and Marlon as a member of the Jackson 5. Jackson began his solo career in 1971 while at Motown Records, and rose to solo stardom with his fifth studio album Off the Wall (1979) during the peak of the disco era.</li>
          <li>By the early 1980s, Jackson became a dominant figure in popular music. His music videos, including those for "Beat It", "Billie Jean", and "Thriller" from his sixth studio album Thriller (1982), are credited with breaking racial barriers and transforming the medium into an art form and promotional tool.</li>
          <li>Jackson's prominence propelled him and the television channel MTV into cultural phenomenons of 1980s pop culture. At the 1984 Grammy Awards, Thriller won a record-breaking eight Grammy Awards, including Album of the Year.</li>
          <li>Jackson continued to innovate with videos including "Leave Me Alone" and "Smooth Criminal" from Bad (1987), "Black or White" and "Remember the Time" from Dangerous (1991), "Scream" from HIStory: Past, Present and Future, Book I (1995) and "Ghosts" from the remix album Blood on the Dance Floor: HIStory in the Mix (1997). With songs such as "Man in the Mirror", "Black or White", "Heal the World", "Earth Song" and "They Don't Care About Us", Jackson's music emphasized racial integration, environmentalism and fighting against prejudice and injustice.</li>
          <li> In 2009, while preparing for a series of comeback concerts, This Is It, Jackson died from an overdose of sedatives administered by his personal physician, Conrad Murray. Fans around the world expressed their grief, and Jackson's public memorial service was broadcast live.</li>
          <li>In August 2009, the Los Angeles County Coroner ruled that Jackson's death was a homicide, and Murray was charged with involuntary manslaughter in February 2010.</li>
        </ul>
        <div id="end">
      <a href="https://en.wikipedia.org/wiki/Michael_Jackson" target="_blank" id="tribute-link">To know more about this Legend, Click Here!</a>
    </div>
   <main>
     </body>
 <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script><script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
              
            
!

CSS

              
                #title {
  text-align: center;
  font-family: Allura;
  font-size: 50px;
  background-color: #DCDCDC;
  padding: 50px;
  margin: 0px;
}
#img-caption {
  font-family: Almendra SC;
  font-size: 50px;
  margin: 15px;
  text-align: center;
}
.responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
 }
#tribute-info{
  text-align: start;
  font-size: 40px;
  font-family: Barlow Semi Condensed;
  background-color: #DCDCDC;
  padding: 30px;
}
li{
  margin: 20px;
  font-size: 20px;
}
#tribute-link {
  font-size: 20px;
}
#end{
  text-align: center;
  padding: 20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console