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

              
                <html>
  <body >
    <main id="main">
    <header>
  <h1 id="title"> Architect. Zaha Hadid  </h1> 
      <h2 id="nick">The Curve Queen</h2>
    </header>
    
    
  <div id="img-div">
    <figure>
 <img src="https://www.almendron.com/tribuna/wp-content/uploads/2016/04/zaha-hadid-more-than-a-female-architect.jpg" id="image" >
      <figcaption id="img-caption">
        Zaha Hadid Standing in front of The Riverside Museum in Uk
        </figcaption>
      </figure>
  </div>
      
      
  <content id="tribute-info">
    <h2 id="t2">Facts about Zaha Hadid
     <img id="profile" src="https://www.zaha-hadid.com/wp-content/uploads/2019/12/zahahadidbystevedouble_forweb_0272-583x583.jpg">
    </h2>
        <ul>
            <li>She was listed as number 69 on Forbes’ World’s 100 Most <br>Powerful Women list in 2008.</li>
            <li>Taught at the Harvard Graduate School of Design.</li>
            <li>She won an award every year since the year 2000.<br> The visionary Pritzker Prize winner had  even received <br> up to 12 awards in one year which is a record-breaker.</li>
            <li> She had a very successful line of shoe designs.</li>
        </ul>
   
    </content>
      <div id="gallery">
        <h2 id="t3">Gallrey</h2>
        <figure>
        <a id="tribute-link" href="https://www.youtube.com/watch?v=gvxF3mDfA-A"> <img  src="https://afar-production.imgix.net/uploads/images/post_images/images/5FpoBbMyy5/original_virgile-simon-bertrand-guangzhou-opera.jpg?auto=compress,format&lossless=true&w=845" target="_blank"> </a>
     <figcaption id="img-caption">
       Guangzhou Opera House by Zaha Hadid
        </figcaption>
        </figure>
      
        </div>
      
  </main>
  </body>
  
  <footer>
 
      <div id="quotes">"Architecture is really about well-being. I think that people want to feel good in a space ... On the one hand it's about shelter, but it's also about pleasure"
<br>
<strong>Zaha Hadid </strong></div></footer>
</html>
              
            
!

CSS

              
                header{
  background-image:url(https://potramihaiarchitecture.files.wordpress.com/2013/07/abstract-shape-m3m.jpg?w=768) ;
  background-size:cover;
  background-position:left;
}

#title{
  text-align:center;
  font-size:70px;
  font-family:monospace;
}
#nick{
  text-align:center;
  position:relative;
  bottom:20px;
  font-size:40px;
}
#img-div{
  display:flex;
  justify-content: center;
 
}
#image{
  
}


#img-caption{
  text-align:center;
  font-size:20px;
  margin-top:20px;
  margin-bottom:30px;
}

#t2{
  text-align:left;
  position:relative;
  left:200px;
 font-size: 50px;
}

ul{
  position:relative;
  left:200px;
  font-size:25px;
 line-height:60px;
 
}
#profile{
 position:absolute; 
  right:580px;
  border-radius:25%;
  width:400px;
  height:500px;
}
#t3{
   margin-top:100px;
  margin-bottom:30px;
  text-align:left;
  position:relative;
  left:200px;
 font-size: 50px;
}

#tribute-link{
   display:flex;
  justify-content: center;
  margin-top:30px;
}

#quotes{
  margin:auto;
  font-size:20px;
  width:40%;
  margin-top:80px;
  
}
              
            
!

JS

              
                
              
            
!
999px

Console