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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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>

<div id="main">
  <h1 id="title">Dr.APJ Abdul Kalam </h1>
  <div id="img-div"> <img class="img-size" id="image" src="" alt="Dr.Kalam's Photo">
    <figcaption id="img-caption">India's president from 2002 to 2007 </figcaption>
  <div id="tribute-info">
    <p id="text">
      <li> <strong>Born:</strong>15 October 1931
      <li><strong> Death:</strong>27 July 2015 (aged 83)
    <h2> <u>About Dr.Kalam:</u></h2>

    <p id="text"><strong>Avul Pakir Jainulabdeen Abdul Kalam,</strong> is an Indian scientist and politician who played a leading role in the development of <strong> India’s missile and nuclear weapons</strong> programs. He was president of India from 2002 to 2007. As president, Kalam promoted the advancement of the national nuclear weapons program. Kalam also devised a 20-year action plan to achieve <strong>economic growth</strong> through technological development in India.</br>

      <br> Kalam was noted for his<strong> integrity</strong> and his <strong>simple lifestyle.</strong> He never owned a television, and was in the habit of rising at 6:30 or 7 a.m. and sleeping by 2 a.m. His few personal possessions included his <strong>books, his veena, some articles of clothing, a CD player and a laptop;</strong> at his death, he left no will, and his possessions went to his eldest brother.

    <h3><u>Here are some of his popular writings:</u></h3>
      <li>India 2020: A Vision for the New Millennium.</li>
      <li> Wings of Fire: An Autobiography.</li>
      <li> Ignited Minds: Unleashing the Power within India.</li>
      <li>The Luminous Sparks: A Biography in Verse and Colours. </li>
      <li>Guiding Souls: Dialogues on the Purpose of Life. </li>
      <li>Mission of India: A Vision of Indian Youth etc...</li>
  <a id="tribute-link" target="_blank" href=""> <strong><em>More stories about Kalam, Please visit wikipedia, thanks!</em></strong></a>
  <p class="arun">-by @arunshetty</p>



                #image {
  display: block;
  max-width: 30%;
  margin: 10px auto 10px auto;

#main {
  display: flex;
  flex-direction: column;
  align-line: center;
  padding: 10%;
  background-color: #dbf3fa;
  margin: 0px;
a:hover {
  color: blue;
  transform: scale();
#title {
  background-color: black;
h1 {
  text-align: center;
  color: white;
  font-family: monospace;
  font-size: 40px;
h2 {
  text-align: left;

#img-caption {
  text-align: center;

#text {
  text-align: justify;
.arun {
  text-align: right;



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