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


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


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.


                <!DOCTYPE html>
<script src=""></script>
  <link href="|Permanent+Marker" rel="stylesheet">
 <link rel="stylesheet" type="text/css" href="mystyle.css">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <h1 id="title"> Sergei Polunin </h1>
  <div id="main">
    <div id="img-div">
 <div id="image"> 
<img src="" alt="sergei"> 
     <div id="img-caption">Sergei Vladimirovich Polunin, Ukrainian ballet dancer, actor and model.</div>
  <div id="tribute-info">
    <h2> Bio </h2>
      <li>Sergei was born in 1989 in Kherson, Ukrania. His mother moved  with him to Kiev, while his father Vladimir Pulunin worked in Portugal to support them. </li>
      <li> He studied acrobratics before joining the Kiev State Choreographic Institute age six. </li>
      <li> In 2003 he joined the Royal British Ballet, age thirteen. </li>
      <li> In June 2010 Polunin became the Royal's Ballet youngest ever principal. </li>
      <li> After two succesful years, Pulunin resigned from the company in 2012. </li>
      <li> In 2014 Pulunin collaborated with the photographer David LaChapelle in a dance video. </li>
      <li> The video went viral and he was invited to numerous interviews and photo shoots. </li>
      <li> He became a model, actor and now lives happily ever after. </li>
      <div class="footer">
      <p> Find out more on
    <a id="tribute-link" href="" target="_blank"> Wikipedia</a> </p>



  margin: 0 auto;


#title {
  font-size: 50px;
  font-family: 'Permanent Marker', cursive;

#title:hover {
#main {
 text-align: center;

li {
  list-style-type: none;
  line-height: 3;

ul li {
   margin: 20px auto;
   border-left: 40px;
   text-align: justify;
   height: auto;
   max-width: 100%;
  width: 690px;

  max-width: 100%;

  font-family:'Permanent Marker', cursive;
  font-size: 30px;

    max-width: 100%;
    height: auto;


.footer {
  padding-right: 30px;
  padding-top: 5px;
  height: 60px;

@media only screen and ( max-width 450px) {
  img {
    width: 50px;
    width: 100%;
  li {
    text-align: center;


                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments.