123

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">
  <div class="jumbotron">
    <div class="row">
      <div class="col-xs-12">
        <h1 class="text-center">Amy Winehouse</h1>
        <h4 class="text-center" style="font-size: 20px;"><em>A troubled star gone too soon</em></h4>
        <img src="http://www.officialcharts.com/imagegen.ashx?image=/media/318940/amy_winehouse_flashback.jpg&width=796" class="amyImage">
    <div class="row grid">
      <h2 class="awards">Here is a list of the awards she won:</h2>
      <div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 left-align" style="width: 25%; float: left;">
      <ul>
        <li>2007 Brit Award Best British Female Solo Artist</li>
        <li>2009 ECHO Award Best International Female Artist for "Back to Black"</li>
        <li>2009 ECHO Award  Album of the Year for "Back to Black"</li>
        <li>2016 Grammy Award  Best Music Film for "Amy"</li>
        <li>2008 Grammy Award  Record of the Year for "Rehab"</li>
        <li>2008 Grammy Award  Song of the Year for "Rehab"</li>
        <li>2008 Grammy Award  Best New Artist for "Rehab"</li>
        <li>2008 Grammy Award 
Best Female Pop Vocal Performance
for "Rehab"</li>
        <li>2008 Grammy Award 
Best Pop Vocal Album
for "Back to Black"</li>
       </ul>
      </div>
      <div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 right-align" style="width: 25%; float: left;">
  <ul>
        <li>2008 Ivor Novello Award 
Best Song Musically & Lyrically
for "Love Is a Losing Game"</li>
        <li>2007 Ivor Novello Award 
Best Contemporary Song
for "Rehab"</li>
        <li>2004 Ivor Novello Award 
Best Contemporary Song
for "Stronger Than Me"</li>
        <li>2008 Meteor Ireland Music Award 
Best International Female
for "Stronger Than Me"</li>
        <li>2007 MOBO Award 
Best UK Female
for "Stronger Than Me"</li>
        <li>2007 MTV Europe Music Award 
Artist's Choice
for "Back to Black"</li>
        <li>2007 Q Award 
Best Album
for "Back to Black"</li>
        <li>2008 Shockwaves NME Award 
Worst Dressed
for "Back to Black"</li>
      </ul>
      </div>
    </div>
      <div class="blockquote">
        <blockquote cite="http://www.brainyquote.com/quotes/quotes/a/amywinehou473756.html"><p>Life's short. Anything could happen, and it usually does, so there is no point in sitting around thinking about all the ifs, ands and buts.</p> 
  <footer>Amy Winehouse
          </footer></blockquote>
        <h3>There is a larger list of her awards and nominations in her <a href="https://en.wikipedia.org/wiki/List_of_awards_and_nominations_received_by_Amy_Winehouse">Wikipedia</a>.</h3>
      </div>
    </div>
  </div>
 </div>
  <footer class="text-center">
    <hr><p>Written and coded by <a href="https://www.freecodecamp.com/vmarron">Vanessa Marron</a></p></footer>
</div>
            
          
!
            
              body{
  margin-top: 60px;
}
.amyImage {
  display: block;
  margin: auto;
  width: 60%;
}
.row {
  display: inline-block;
  margin: auto;
  text-align: center;
}
* {box-sizing: border-box; }
.grid {
  display: table;
  width: 100%;
  border-spacing: .5em;
   ul{ 
  text-align: left;
  verticle-align: middle;
  display: table-cell;
  width: 25%;
  padding: 1em;
}
}
.left-align{
  display: block;
  padding: 5px;
  float: left;
  margin-right: 5%;
  margin-left: 21%;
}
.right-align {
  display: block;
  float: right;
  padding: 5px;
  margin-left: 3%;
}
blockquote {
  border-left: none;
}
footer {
  border-top: none;
}


            
          
!
            
              $("document").ready(function() {
$(".jumbotron").css("background-color", "grey");
$("footer").css("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