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.

            
              <!DOCTYPE html5>
<html5>
    <h1 id="title">
    BTS
  </h1>
 
<main id="main">

  <div id="img-div">
    <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS5sTesycQ51XqV7Gv4lyZORcxoL_2BRg_g0Y2TLSuZE7k8TrBWgA" id="image" alt="bts">
    <body>
    <p id="image-caption" >
      from the left: Jin/V/Jungkook/Suga/RM/Jimin/J-hope
    </p>
    </div>
    <p id="tribute-info">
      BTS (Korean: 방탄소년단; RR: Bangtan Sonyeondan), also known as the Bangtan Boys, is a seven-member South Korean boy band formed in Seoul in 2013. The septet co-writes and produces much of their output. Originally a hip hop group, their musical style has evolved to include a wide range of genres. Their lyrics, often focused on personal and social commentary, touch on the themes of mental health, troubles of school-age youth, loss, the journey towards loving oneself, and individualism. Their work features references to literature and psychological concepts and includes an alternative universe storyline. Popular for their live performances, the group have staged several world tours.
    </p>
    <a href="https://en.wikipedia.org/wiki/BTS_(band)" id="tribute-link" target="blank">
     Watch their success from wikipedia
    </a>
    
  </main>
    </body>
  </html5>
            
          
!
            
              <style>
h1 { 
 margin: auto;
}
body{
   margin: auto;
 background-image: url("https://i.pinimg.com/564x/1f/17/e3/1f17e351f35355d61ead6855af7b5f02.jpg");
  
}
h1 { background-color: #cc99ff;
   text-align : center;
  display: inline-block;
  margin: 25px 50px 25px 25px;
}
</style>
            
          
!
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