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>

<header id="header"
        class="header">
  <p class= "font1">Hand Made Iron Art from Iron in the Hat! </p>
  <img id="header-img" 
         src="https://lh3.googleusercontent.com/kSKRIeGDtaE32tUXqu5bPRrd36oWZqakW80mWAfiOvrRNEKNsrh2AaV6NkXGscvpL52YXIfq16c6HFV1Go9L-VjSAzx5sxNuzppAQaZ_k9019Rf68FmbjbHYekCh9BrxqNxMVHWpQDl8117hv85__FD5KxxyK1mjz3db-bMHfwcCfIr2r3rE6j0XH6BInfDC5v6XImX25IgvOEOV5picHOpabX2fe7XBewoqUmPcw8vUJzRHj7BobOw8dnS0NIR0ugulvmLRbC1LwsdQZVy9V2T4nWwkRZnwAMjeSRSldCjpW0TLxqqU9EACj3yQ-TYFvPhqD8bvdHzyTF0T8iVQqrEs77g_PGxHSoAF5rK2-sVEO5VMayvOZPbvluSqf6cXgUDajyLT8bgwqfbBT5KTKlP1vCvpuGqtJna8DAsiFD4XaRTtgs8GiLohgLnizJLU0IxbnlMS297gayVE0nD6CldJ0eWta8LzVkVqVcKFMH5iX7SUa9P1oOhXJ65KwHYEx77RvNcwa1pZOdUNYa0i0xjL6ev1TB1aYirhxahy0MdgsFEf0KZpYjYaeidecR2-G2MefrphpThEoBjQJMleB1sDkb2oIka1jcNXjN0xQjXA2-KNy3kOcbTFjMl-Jhfj_JCIWF7AODxBOhv2r6SAO3VnPpLI1fXJ6t-m9uq9TOrTybJBKFfo7w=w727-h969-no"
       class="logoimg">
  
  <nav id="nav-bar" class= "navbar">
    <ul>
      <li class="font2"><a href="#whatwedo" class="nav-link">What We Do</a></li>
      <li class="font2"><a href="#email" class="nav-link">Subscribe</a></li>
      <li class="font2"><a href="#products" class="nav-link">Products</a></li>
    </ul>
  </nav>
</header>
<body>
  <div class="gridcontainer">
  <main class="gridcontainer1">
    <form id= "form" 
          action= "https://www.freecodecamp.com/email-submit"
          class="emailsub">
      <label name= "enter-email"
             class= "font3">Learn more about our products as they come off the anvil by submitting your email below!</label>
      <input type= "email"
             id= "email"
             name= "email"
             placeholder= "enter email address">
      <input type= "submit"
             id= "submit"
             name= "submit-email"
             value= "Submit!">
    </form>
    <p id="products"
       class= "font3">
      Current Products:
    </p>
    <label class="ironroseitem font3"><a href="https://ironinthehat.etsy.com">
                                         Iron Rose</a> <br> $92.00 USD
      <img src="https://lh3.googleusercontent.com/bqBPwqBF03EDzoPSrA1ab4WSoqHknyjrP6qdtMwQW2nTY0iktTdqXlMdFidnortwUipUl8XoXFyKKIGfmJgADKEviU9OmEbCteUOjtPtM_d128TxC4v2k5OBW3BdoQaVqVOANQ34x7xBgmUX_USV2mOSUzBJlf5zHV7fDzlo9KZXHztpPHk-lNJxCVYU17enqwLEPmvV2QJVSq0wv7clp7U71hBRdVT2NqJe8OqV91KCeIT-byIJsslxHX9dFNbgiD_aRX14qrbujmPHJzG8sINykosscahQwgJmHVc5yQjrFcIO17LZKEyWiA_XTeCjgWgG6Xis0nBjsvSfb77jvgMLMNkLb2C5r3Hygm1H8TCMBmgcXVdFyDdey0RFW_JL9fCD5YWh0690Gz8ez7jKpigHTfS_I0fOZfQtyF60hcpiDxBSMLvV1IFMBP_iaoD9FKpC2djYDo61nqOHBD3LIDCfC1MwyRHHOG1mgHGUA9j_L_Dp1srR2dM69ek_nrobP-e8xboUZrKKAquj80qhGbSoCx6Zaz3WSmz2kyyGMlqr9xI7RbA1JM3ZgrDd46pflcw_uWx8xvOqtA7UkObSOQy0-eXH_OWXH9gn1Pk2xSC7U-ILqc7DYKa_z9CuIT8d4050Zt4WbidmBAr_oofVy3TeTxQ5-ZPO3UQuPar5ThuYRJlR5NBlyA=w614-h920-no"
           class="ironroseimg">
    </label>
    <label class="rrspikeitem font3">
      <a href="https://ironinthehat.etsy.com">  Railroad Spike Knife </a><br>$121.00 USD
      <img src="https://lh3.googleusercontent.com/lIJg2Yglu2qf9amsa9GkH0YR8PhdNNlL6Ll4h6mWv23Efk4nu-6kNbW63YXDNML3FPssuU-w2j4oG89ZSpv_EtcXt2ZqficyKpr6P3teUQgJXpnHloXppYejoWJ6I2PZi8CzszfzpjgWs4Iyp_Svl-lQZ1D5S3IAkttWqxoeMTLremWo9oQRVoYAuIbW9FPzh2uYgxNHRcxB6_gl-tsGVSvHhkdM-Q-3OUUJqtALfCqcMtVfvWBIZx6Vd5PrhrEz-75z6tD3TncXdI3o2Pqzr_NpMemqQg1EPYEekj89jD5wnhw0vV5eVbk_n_eHAu3w0AOPgISQWrWLkKUy5BpV40dHEt0dk_ZIFtbbvK3pHSgxPnN8gQ4FWjQdvelzM6caBn9NT1OcMxhsDCCZK5obMX27hNWnEnNOGQhcB-cA5PjsV0dY2BVApGmzRSvznwKDZza-w2u2QXl6qB3Db8_EFBNg1uIZ0cM6bUQfwiIIL1ThKnD4q97MEYA2aPRXNV0bjmBNIF-rcbT7AzVxhT5izP5uQTq5mJQfCXiMGg-hXAlgl7RJ9QjA199BKx08k6npIP5s4eKBeaOhqFRHtOKMPJzYC0xVXArD2KdWHLeM8tKlgPIwrST28QJ9m-YfXAw7jRanlUEtm0JWkNZuK-9JRO7BQNMzs3eVyIPKgsmZzmtTNaFyEJq_tg=w727-h969-no"
           class="rrspikeimg">
    </label>
    <label class="minibouquetitem font3"><a href="https://ironinthehat.etsy.com">
      Mini-Rose Bouquet </a><br>$78.00 USD
      <img src="https://lh3.googleusercontent.com/HGoDaoLRClk4FxlT036AwZcYrfc0M7Pnk_GmWlIxRpKPPKIfAxSMgq71XXgsoqPLWKQZdscP72XIi7pjEtqkTtHSzmFWT_sC-Knnila7PuIdy4n9cHaoJL1Uh_DFJDNuOTflXx4C1WsosUk6VgZAO6MsqqIrkvFu-HDL1GFGMLYDyLsRF4eBWZevwyOPYcCi0ya-dDoGBmjLmCrerUdsH-fQBayGn1TaAhqNRZbi8_Jwme51MZ9_REC96jx41r_NT9BWK0Re6MRwDYJ8wxeFx4LKG-SZvfgEwdzruv3Kfm5ZVDgDXgwT9UHwxtEmEYAQ-L37clr3EYDKpj-WelBdDQjp84jbs8KqPzDNHufj-902QfK6ibufZjtDsSbmknUpwS7lWytMWlZ53OZOBsHZ260DPtKK9S03vmDrGGpZ0SY86LtLqi2BobyGielnuVIRbho1R7CFG7emNI2XGOxVKTKBVbrjeLCYaCRZ6A5CAGIaTFy5ubTgkR0dTE1sNnknXw7RZelkwUxG3tBXagAFzRtrmGfi5UR9m6KCE0pQ6MONsmoHDhVUkYM9ViULgklRqH9CTbnjv7r_rIBxe2eua5B0qwz6F1OLar-rPCgRN3_QZSeBXEfGQeHyikR5Lg1mMo2ZOWYa5Z6oyLZXzYU_ObCjWcv1qJJXXeD9WzJcmwQBZtgPG1rObQ=w727-h969-no"
           class="minibouquetimg">
    </label>
    <p id="whatwedo"
       class="video1 font3">What is Blacksmithing? Below is but one video example of the many things this craft has to offer.
    "<iframe id= "video" width="956" height="538" src="https://www.youtube.com/embed/n8coEuftCNE" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>"
            
    </iframe>
    </p>
  </main>
  </div>
</body>
              
            
!

CSS

              
                
@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(https://fonts.googleapis.com/css?family=Bigshot+One);
@import url('https://fonts.googleapis.com/css?family=Trade+Winds&display=swap');

.logoimg{
  border-radius: 100px;
  width: 15%;
  display: block;
  margin: 0 auto;
    
}
.navbar{
  position: fixed;
  top: 10px;
  right: 100px;
  
}
@media (max-width 600px){
  display: flex;
  flex-wrap: wrap;
}
.header{
  display: flex;
  flex-direction: column;
}
.font1{
  font-family: Bigshot One, serif;
  font-size: 46px;
  text-align: center;
}
.font2{
  font-family: Trade Winds;
  font-size: 25px;
  
}
.font3{
  font-family: Trade Winds;
  font-size: 20px;
}
.gridcontainer1{
  display: grid;
  grid-template-columns: 300px 300px 300px;
  grid-column-gap: 200px;
  grid-template-areas: 
    "products products products"
    "i1 i2 i3"
    "email email email"
    "video video video";

}
.video1{
  grid-area: video;
}
.productslabel{
  grid-area: products;
}
.ironroseitem{
  grid-area: i1;
  
}
.ironroseimg{
  height: 300px;
  width: 200px;
  border-radius: 300px;
}
.rrspikeitem{
  grid-area: i2;
  
}
.rrspikeimg{
  height: 300px;
  width: 200px;
  border-radius: 300px;
}
.minibouquetitem{
  grid-area: i3;
  
}
.minibouquetimg{
  height: 300px;
  width: 200px;
  border-radius: 300px;
}
.emailsub{
  grid-area: email;
}
.gridcontainer{
  text-align: end;
}
              
            
!

JS

              
                
              
            
!
999px

Console