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>

  <body>
    <div id="main">
	    <h1 id="title">Charmed
      <img src ="https://i.pinimg.com/originals/a8/4d/b7/a84db7dd409863d3f4dde788b7c44d87.jpg" alt="logo">
      </h1>
      <p>
        The Power Of Three Will Set You Free
      </p>
    </div>
    <figure id="img-div">
        <img id="image"
             src="https://images-na.ssl-images-amazon.com/images/I/81js9XntbML._SY445_.jpg"
             alt="Four Charmed Sister">
        <figcaption id="img-caption">
            Charmed Sisters
        </figcaption>
    </figure>
    <article>
      
      <img id="image" src="https://usercontent2.hubstatic.com/14664603.jpg" alt="Prue Halliwell">
      <h2>Prue Halliwell</h2>
      <p id="tribute-info"> Prue the eldest sister who initially receives the power to move objects with her mind by channelling telekinesis through her eyes. As the series progresses, Prue learns how to channel her telekinetic powers through her hands and gains the power of astral projection, the ability to be in two places at once.</p>
       
      <h2>Piper Halliwell</h1>
      <img id="image"src="https://vignette.wikia.nocookie.net/charmedchosenlegacy/images/5/5d/7x1605.jpg/revision/latest?cb=20111104150426" alt="Piper Halliwell">
      
      <p class="space-p">
         Piper the second eldest sister who initially receives the power to freeze her surrounding environment. As the series progresses, she also gains the power to cause evil beings or objects to spontaneously explode. Piper is initially the middle sister of the family during the first three seasons, but later becomes the eldest sister after Prue dies. </p>
   
      <h2>Phoebe Halliwell</h2>
      <img id="image"src="https://i.pinimg.com/474x/eb/03/ab/eb03abcf4573a2e592c6f125f4c49d3b.jpg" alt="Phoebe Halliwell">
      <p class="space-p">Phoebe the third eldest sister who initially receives the power of premonition, the ability to see into the future and the past. To make up for initially only having a passive power, Phoebe develops martial arts skills in order to better assist her sisters when they fight evil. As the series progresses, she also gains the active powers of levitation and empathy</p>
      <h2>Paige Halliwell</h2>
      <img id="image"src="https://pbs.twimg.com/profile_images/824479456907632641/roO9aUHL_400x400.jpg" alt="Paige Matthews">
      
      <p class="space-p">Paige , the youngest half-sister who initially receives the power to move objects with her mind by orbing ("teleporting") objects from one location to another through a vocal command.Paige is both a witch and whitelighter</p>
       
      
    </article>
    <footer>
      You can learn more about Charmed <a id="tribute-link"
                   href="https://en.wikipedia.org/wiki/Charmed" target="_blank">Here</a>
    </footer>
      
      
      
  </body>

              
            
!

CSS

              
                #main {
            max-width:1366px;
            margin-top:30px;
            margin-bottom: 30px;
            margin-right: 8px;
            margin-left: 8px;
            background-color: #eee;
            padding: 15px;
            border-radius:20px;
            border: solid brown;
            text-align: center;
            font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
            font-size: 1.7rem;
            line-height: 1.5;
            color: #333;
   		}
img {
  width: 85px;
  height: 70px;
  position: static;
  
}
#img-div {
    font-family: 'Francois One', sans-serif;
}

#image {
    width: 350px;
    display: block;
    margin: auto;
    height:350px ;
   border: 20px solid brown;
  border-radius: 4px;
  padding: 5px;
  max-width: 100%;
  display: block;
  height: auto;
  
}

#img-caption {
    text-align: center;
    margin-top: 20px;
  font-size: 1.5rem;
  background-color: #eee;
  padding: 20px;
  border-radius: 20px;
  border: solid brown;
  
}
h2 {
  margin: 45px;
  text-align: center;
text-decoration: underline;
  text-decoration-color: brown;
}

p {
  margin: 0 auto;
  max-width: 800px;
  font-size: 1.2em;
  font-family: 'Raleway', sans-serif;
}
.space-p {
  padding-top: 35px;
}
footer {
   text-align: center;
    font-family: 'Francois One', sans-serif;
    text-decoration: underline;
  padding-top: 15px;
  border: 6px solid brown;
  padding: 30px;
  margin: 45px;
}

              
            
!

JS

              
                
              
            
!
999px

Console