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> -->
    <link href="https://fonts.googleapis.com/css?family=Barrio" rel="stylesheet">

    <head>
      <title id="title">This page is about an art museum in Austin, TX.
      </title>
      <div class="text-decoration">
        <h1>Hope Outdoor Gallery</h1>
        <h2>Austin,Tx</h2>
      </div>
    </head>

    <body>
      <div id="main">
      <figure id="img-div">
        <img id="image" src="https://cdn.shopify.com/s/files/1/0755/7685/files/Hope-Outdoor-Gallery-Austin-Texas-003-870x580_1024x1024.jpg?14218259325658184140" alt="Hope Outdoor Gallery entrance.">
        <figcaption id="img-caption">This is an image of Hope Outdoor gallery's entry way.</figcaption>
        </img>
      </figure>

      <p>The HOPE outdoor gallery, located in Austin,TX, is a non-profit art gallery.</p>

      <h3>Linked below are some of the amazing artists who've painted the walls of hope.</h3>

         <p>
      <a href="http://hopecampaign.org/hopeartists/armistead-david/" target="_blank">David Armistead</a>
      -<a href="http://www.lucasaoki.com/" target="_blank"> Lucas Aoki</a> 
      -<a href="https://www.instagram.com/blvdart/" target="_blank">BLVD</a>
      -<a href="http://hopecampaign.org/hopeartists/blower-jessica/" target="_blank">Jessica Blower</a>
      -<a href="http://obsolete-inc.com/?page_id=3" target="_blank">Billy Bishop</a> 
      -<a href="http://caskoneproductions.webs.com/" target="_blank">Cask One</a> 
      -<a href="http://lewiscarnegie.com/" target="_blank">Lewis Carnegie</a>
      -<a href="http://hopecampaign.org/hopeartists/diaz-mariano-a/" target="_blank">Mariano Diaz</a> 
      -<a href="http://www.aarondarling.com/" target="_blank">Aaron Darling</a>
      -<a href="http://tristaneaton.com/" target="_blank">Tristan Eaton</a>
      -<a href="https://www.jasone.co/" target="_blank">Jason Eatherly</a> 
      -<a href="http://goetzmedia.com/" target="_blank">Peter Goetz</a>
      -<a href="https://www.g52cube.com/" target="_blank">G52</a> 
      -<a href="http://hopecampaign.org/hopeartists/jewkes-billy-briks/" target="_blank">Briks Jewkes</a>
      -<a href="http://www.hughleeman.com/" target="_blank">Hughs Leeman</a> 
      -<a href="https://www.facebook.com/davelowellATX" target="_blank">Dave Lowell</a> 
      -<a href="http://slokeone.com/" target="_blank">Sloke Nordstrom</a> 
      -<a href="http://www.nizgraphics.com/Page1.html" target="_blank">NIZ</a>
      -<a href="http://deniseprince.com/default.asp?contentID=663" target="_blank">Denise Prince</a>
      -<a href="http://www.joshrow.com/" target="_blank">Josh Row</a>
      -<a href="http://www.codyschibi.com/" target="_blank">Cody Schibi</a>
      -<a href="http://skeez181.com/" target="_blank">SKEEZ181</a>
      -<a href="https://www.facebook.com/The-Art-Design-of-Jason-Ice-81069080339/" target="_blank">Vandal</a>
      -<a href="http://www.w3r3on3.com/" target="_blank">W3R3ON3</a>
      -<a href="http://trickpixel.com/" target="_blank">Patrick Yang</a>
      -<a href="http://www.florenciozavala.com/" target="_blank">Florencio Zavla</a>
                  </p>

        <div id="tribute-info">
          <p2>The non-profit gallery is open to the public to just look and/or to paint, all you have to do is bring your own supplies and sign up with one of the onsite directors. For more information on events, hours, and location follow the link:<a id="tribute-link" href="http://hopecampaign.org/hopeprojects/hope-outdoor-gallery/"
            target="_blank"> HOPE Outdoor Gallery</a>.
          </p2>
        </div>

        <div class="side-view">
          <img id="image2"
       src="http://media7.trover.com/T/550cccb4198e447fcd00045e/fixedw_large_4x.jpg" alt="Cody Schibi"></img>
        </div>

        <footer>Created by Nia Marie Patino.</footer>
      </div> 
    </body>
              
            
!

CSS

              
                img {
  display: block;
  text-align: center;
  // max-width: 100%;
  height: auto;
}
h1 {
  font-size: 50px;
  font-family: barrio;
  text-align: center;
}
h2 {
  font-size: 28px;
  font-family: barrio;
  padding-bottom: 20px;
  text-align: center;
}
h3 {
  font-size: 24px;
  font-family: barrio;
  padding-top: 20px;
}
p {
  margin: 30px 30px 20px 40px;
}

p2 {
  margin: 30px 30px 40px 0;
}

body {
  text-align: center;
  background: linear-gradient(to right, #F39C12 , white, #F39C12 );
}

footer {
  text-align: center;
  background-color: grey;
  color: white;
}
.text-decoration {
  text-decoration: underline;
}
.side-view {
  max-width: 100%;
  height: auto;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 50px;
  }
#image {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#image2 {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}


@media only screen and (max-width: 600px) {
  #image2 {
    width: 100%;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console