Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              
<div class="container-fluid background">
  
  <body>
  
  <h1 class="font-family text-center">The Rockies</h1>
  
  <h2 class="font-family text-center">By 
<a href="https://www.freecodecamp.com/mitchtrot">Mitchell Trotter
</a>
    </h2>
<div class="center-image img-fluid">
<img class="smaller-image orange-border img-responsive mx-auto d-block" src= "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Moraine_Lake_17092005.jpg/1200px-Moraine_Lake_17092005.jpg"alt="responsive-image">
</div>

<p class="center-text">This is my own lorem ipsum, I have nothing else to write that will benefit this challenge. So, I have taken it upon myself to write a paragraph of text for this webpage. I also put a picture in here. It is a picture of the Rocky Mountains, or more commonly known, 'The Rockies'. <a href="https://www.google.co.uk/search?q=rocky+mountain+range&oq=rocky+mountain+range&aqs=chrome..69i57j0l5.4667j0j7&sourceid=chrome&ie=UTF-8">The Rocky Mountains stretch some 3,000 miles from British Columbia and Alberta in Canada through Idaho, Montana, Wyoming, Colorado, and down to New Mexico in the U.S. The range offers dramatic wilderness, diverse wildlife and alpine lakes. Colorado’s Rocky Mountain National Park is traversed by numerous hiking trails and the famously scenic Trail Ridge Road, a 48-mile highway that reaches a high point of 12,183ft.</a> I stole that section from <a href="https://www.google.co.uk/">Google</a> because I know nothing abou the Rocky Mountains. </p>

<a href="https://www.instagram.com/mitchtrot/"><img class= "smaller-logo logo-pad img-responsive mx-auto d-block" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0MDAgNDAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDAgNDAwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I0M2QzZDNjt9Cgkuc3Qxe2ZpbGw6IzcwNzA3MDt9Cjwvc3R5bGU+CjxnPgoJPHJlY3QgeD0iMjY2LjciIHk9IjAiIGNsYXNzPSJzdDAiIHdpZHRoPSIxMzMuMyIgaGVpZ2h0PSI0MDAiLz4KCTxwb2x5Z29uIHBvaW50cz0iMjY2LjcsODkuNyAyOTkuNCwxMTEuNSAyNjYuNywxMzMuMyAJIi8+Cgk8cmVjdCB4PSIwIiB5PSIwIiBjbGFzcz0ic3QxIiB3a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3QgeD0iMjcwLjYiIHk9IjM5NiIgd2lkdGg9IjEyNS40IiBoZWlnaHQ9IjQiLz4KCTxwb2x5Z29uIHBvaW50cz0iNCw0IDQsMCAwLDAgMCw0MDAgNCw0MDAgNCwzOTYgCSIvPgoJPHJlY3QgeD0iNCIgd2lkdGg9IjEyNS40IiBoZWlnaHQ9IjQiLz4KCTxyZWN0IHg9IjQiIHk9IjM5NiIgd2lkdGg9IjEyNS40IiBoZWlnaHQ9IjQiLz4KPC9nPgo8L3N2Zz4K" alt="Web-Logo"></a>

  </body>
  
</div>
  


  

            
          
!
            
              .background {
  width: 1200px;
  background-color: #f0ece1;
  margin-top: 75px;
  margin-bottom: 75px;
  padding: 30px;
 
}

body { 
  background-color: white;
     }
.white-border {
  border-color: white;
  border-width: 35px;
  border-style: solid;
}
  


  h1 {
  color: #e5703d;
  font-family: "Lora";
  font-weight: bold;
  font-style: normal;
  font-size: 65px;
  margin: 60px
  
     }
 h2 {
  color: #e5703d;
  font-family: "Lora";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  margin: -40px
     }

.smaller-image {
  width: 1000px
}

.smaller-logo {
  width: 50px
}
.logo-pad {
  margin: 0px 0px 200px
}



.center-image {
   width: 1000px;
   height: auto;
   min-height: auto;
   min-width: auto;
   margin: auto;
   padding: 150px 0px 100px 0px
  }
.center-text {
   margin: auto;
   padding: 0px 130px 200px 130px
  }
.orange-border {
  border-style: solid;
  border-width: 10px;
  border-color: #e5703d;
}
p {
  color: #e5703d;
  font-family: "Lora";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  text-align: justify;
    
}

a {
  color: black;
}
.black-embed {
  color: black;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console