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>





<main id="main">
  <h2 id="title">The Guy Name Spanker</h2>
  <p>SPANK SPANK SPANK</p>
 
  <figure id="img-div">
    <img id="image"
         src="https://lh3.googleusercontent.com/6kSfXvAYgsoQCOEznPtR-30xGxQbhLj3nchO5wpDRpZwMThTorjiaHUnrKbMT1JfzCwM8VXc7TTyBsa0n-yNXI0J2FM=s800"
         alt="Escobar in a 1976 mugshot"/>
    <figcaption id="img-caption">A mug shot taken by the regional Colombia control agency in Medellín in 2018.
    </ficaption>
  </figure>  
 
 
<section id="tribute-info">
  <h3 id="headline">Life story of a Spanker:</h3>
  <ul>
    <li>
      <strong>1990</strong> - The <u>Spanker</u> was born in cold winter at North-Chilly.
    </li>
    <li>
      <strong>1998</strong> - At age of just eight he started doing <u>spanking</u>.
    </li>
    <li>  
      <strong>2005</strong> - His parents notice his passion and skill and then brought him into the America.
    </li>
    <li>
     <strong>2012</strong> - He later joined the Ohio Spank Institute today better knows as The Art Of <u>Spank</u> College.
    </li>
    <li>
      <strong>2016</strong> - He met his girl friend/future wife who supported him with his gifted talent.
    </li>
    <li>
      <strong>2018</strong> - At present he still does his <u>spanking</u> routine.</li>
  </ul>
  <blockquote
              cite="http://www.kinkyquotes.com/category/lets-get-kinky/page/2/"
              >
    <p><font size='4'>
      "Be a good person but don’t forget to be naughty."</font>
    </p>
    <cite> -All the spanker in the world</cites>
  </blockquote>
  <h3> <font size="3">
    You do not need to read any more but if you are a really nerd then go ahead <u>spank</u> your self.
    <a
       id="tribute-link"
       href="https://en.wikipedia.org/wiki/Spanking"
       target="_blank"
       >Wikipedia</a
      >.
   
    <h6>Spread love not Corona</h6>
  </h3>
  </section>
</main>
              
            
!

CSS

              
                html{
  font-size: 10px;
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  color: #696969;
  margin: 0;
}

h1 {
  font-size: 4rem;
  margin-bottom: 4%;
}

@media (max-width:460px){
  h1 {
    font-size: 3.5rem;
    line-height:1.2;
   
  }
}

a {
  color: silver;
}

a:visited:{
  color: blue;
}

#main{
  margin: 30px 8px;
  padding: 15px;
  border-radius: 3xp;
  background: #eee;
}

@media (max-width: 460px) {
  #main {
    margin:0
  }
}

img {
  max-width: 350px;
  display: block;
  height: auto;
  margin: 0 auto;
}

#img-dev {
  background: white;
  padding: 10px;
  margin: 0;
}


#img-caption {
  margin: 15px 0 5px 0;
}

@media (max-width: 460px){
  #img-caption{
    font-size:1.4rem;
  }
}

#headline {
  margin: 50px 0;
  text-align: center;
}


ul {
  max-widht: 550px;
  margin: 0 auto 50px auto;
  text-align: left;
  position:relative;
  left: 20%;
}


li {
  margin: 16px 0;
 
}

blockquote {
  font-style: Italic;
  max-width: 545px;
  margin: 0 auto 50px auto ;
 
}

p {
  text-align: center
}
              
            
!

JS

              
                
              
            
!
999px

Console