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

              
                <body id="main"> 
        <tittle id="title">
          RUMI
        </tittle>
        <h2 id="subtitle">
          Sufi mystic and Persian poet
        </h2>
      <div>
    <figure id="img-div" class="box-background">
      <img id="image" class="smaller-image" src="https://freemeditation.com/wp-content/uploads/2009/09/Rumi.jpg" alt="Depiction of Rumi.">
      <br>
      <figcaption id="img-caption">
        Depiction of Rumi (1207 – 1273)
      </figcaption>
    </figure>
        </div>

    <section id="tribute-info">
      <div>
        <h3>Rumi Biography</h3>
        <p>Jalal ad-Din Rumi was a Sufi mystic and Persian poet. His mystical poetry has a universal appeal, which has made him one of the most celebrated poets of the modern age.
          Rumi was born in 1207 in Wakhsh (present-day Tajikistan), in what is now Afghanistan. He frequently travelled throughout his life, due to the political turmoils of his era.
          The family finally settled in Konya (modern-day Turkey).</p>
      </div>
      <div>
        <p>Rumi was brought up in the Islamic faith and became well acquainted with the Quran. Rumi became a celebrated scholar and was admired for his learning. At the age of 25, Rumi took up a position as the Islamic Mmolvi of a madras in Konya. Although following the Sufi path, he became an Islamic jurist and gave sermons in the mosques of Konya.Through his poetry, Rumi expressed his philosophy which included tolerance of all religious beliefs, the importance of goodness and charity, the belief in reincarnation and the soul’s evolution. Rumi also playfully hinted at the limitations of conventional morality and religion – hinting the way of the heart transcended religious doctrines. Above all, he advocated the importance of love. Rumi passionately believed in the capacity of poetry, music and dance as a path to union with God.
          Rumi’s poetry contained lines based on the Quran, but he explored themes beyond the narrow boundaries of religion. People see in his poetry a glimpse of the Divine and the universal quest of love. This transcendental quality of Rumi’s poetry has given him a universal appeal. Even during his lifetime, he acquired followers from a diversity of religious background.Rumi died on 17 December 1273 in Konya.</p>
      </div>
      <br>
      <div>
        <h4> Rumi's Legacy </h4>
        <p>Rumi’s teachings and poetry formed a basis for the practice of the Whirling Dervishes and the path of the Mevlevi tradition of Sufism. Rumi’s faith was born from the Islamic religion. He makes frequent reference to the Quran. However, Rumi was never limited to scriptural interpretations of religious doctrine. He taught and exemplified the fact that the essential aspect of religion is an individual seeking and personal experience of the divine. According to E. Brown, Rumi was a Sunni Muslim, but it was his interpretation of Islam that was mystical and
          universal.</p>
      </div>
      <br>
      <div id="quote-background">
        <hr>
        <p id="quote-decoration">
          <pre>
 Both light and shadow 
 are the dance of Love.
 Love has no cause;
 it is the astrolabe of God’s secrets.
 Lover and Loving are inseparable
 and timeless.
 Although I may try to describe Love
 when I experience it I am speechless.
        </pre>
        <p>– Rumi, Translated by Fereydoun Kia</p>
      </div>
    </section>
    <footer>
      <p class="display-decoration"><span>Read more on <a id="tribute-link" href="https://www.britannica.com/biography/Rumi" target="_blank">Rumi's life history</a></span></p>
      <p class="display-decoration"><span>More of <a id="tribute-link-2" href="https://www.goodreads.com/author/quotes/875661.Rumi" target="_blank">Rumi's life's work</a></span></p>
    </footer>
  </body>

              
            
!

CSS

              
                
       body {
        background-color: rgb(230, 255, 204);
} 

     #title {
        color: rgb(26, 51, 0);
      }

      #image {
        border: 25px dashed white;
      }

      .smaller-image {
        width: 400px;
        max-width: 100%;
        height: auto;
        height: auto;
        display: block;
        margin: auto;
      }

      #img-caption {
        font-size: 15px;
        font-weight: bold;
        text-align: center;
      }

      tittle {
        font-family: 'Cinzel', serif;
        text-shadow: 5px 5px white;
        font-size: 35px;
      }

      h2 {
        font-family: 'Cinzel', serif;
        border-bottom: 10px solid rgb(100, 104, 222);
        border-bottom-right-radius: 100px;
        border-bottom-width: thick;
        opacity: 0.6;
      }

      .box-background {
        margin: 10px 20% 10px 10%;
        padding: 10px 20px 10px 20px;
        background: rgb(158, 168, 160);
        line-height: 18px;
        opacity: 0.8;
        text-align: center;
        justify-content: center;
      }

      h3 {
        font-family: 'Cinzel', serif;
        text-decoration-line: underline;
      }

      h4 {
        font-family: 'Cinzel', serif;
        text-decoration-line: underline;
      }

      p {
        font-family: 'Markazi Text', serif;
        font-size: 24px;
      }

      #quote-decoration {
        font-family: 'Ibarra Real Nova', serif;
        line-height: 30px;
        margin-bottom: 5px;
      }

      #quote-background {
        font-weight: bold;
        font-size: 20px;
        background-color: white;
        display: block;
        height: 340px;
        width: 50%;
        opacity: 0.7;
        word-break: break-all;
      }

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  #quote-background {
    width: 115%
   }
  .box-background {
  padding-right: 70px;
  text-align: center;
  justify-content: center;
  }

      #tribute-link,
      #tribute-link-2 {
        font-size: 24px;
        line-height: 30px;
        text-color: rgb(0, 0, 77);
        text-shadow: 2px .5px rgb(225, 187, 51);
        opacity: 0.7;
      }

      .display-decoration span {
        display: block;
        font-weight: bold;
        font-size: 25px;
      }
              
            
!

JS

              
                // !! 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. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - 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. 

              
            
!
999px

Console