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

              
                <!-- 

Hello Camper!

Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Tribute</title>
</head>

<body>
  <div id="main">
    <div id="title">
      <h1>A.P.J Abdul Kalam</h1>
      <h2>Missile man of India</h2>
    </div>

    <figure id="img-div">
      <img src="https://data1.ibtimes.co.in/cache-img-1200-813/en/full/622920/1476509081_dr-apj-abdul-kalam.jpg" id="image" alt="Dr. Kalam guiding children in a school"><br>
      <figcaption id="img-caption">Avul Pakir Jainulabdeen Abdul Kalam with children sharing his insights at a Navy school </figcaption>
    </figure>

    <div id="tribute-info">
      <h3>Here's a time line of Dr. Kalam's life:</h3>
      <ul>
        <li><b>1931</b> - Avul Pakir Jainulabdeen Abdul Kalam was born on 15 October 1931 to a Tamil M uslim family. </li>
        <li><b>1955</b> - Graduated in physics in 1954 and moved to Madras in 1955 to study aerospace engineering in Madras Institute of Technology.</li>
        <li><b>1960</b> - Joined the Aeronautical Development Establishment of the Defence Research and Development Organisation as a scientist after becoming a member of the Defence Research & Development Service (DRDS).</li>
        <li> <b>1969</b> - Transferred to the Indian Space Research Organisation (ISRO) where he was the project director of India's first Satellite Launch Vehicle (SLV-III) which successfully deployed the Rohini satellite in near-earth orbit in July 1980.</li>
        <li><b>1970</b> - In the 1970s, Kalam also directed two projects, Project Devil and Project Valiant, which sought to develop ballistic missiles from the technology of the successful SLV programme.</li>
        <li><b>1980</b> - His research and educational leadership brought him great laurels and prestige in the 1980s, which prompted the government to initiate an advanced missile programme under his directorship</li>
        <li><b>1992</b> - Kalam served as the Chief Scientific Adviser to the Prime Minister and Secretary of the Defence Research and Development Organisation from July 1992 to December 1999</li>
        <li><b>2002</b> - Kalam served as the 11th president of India, succeeding K. R. Narayanan. His term lasted from 25 July 2002 to 25 July 2007</li>
        <li><b>2007</b> - Decided not to contest the Presidential election again stating that he wanted to avoid involving Rashtrapati Bhavan from any political processes.</li>
        <li><b>2012</b> - In May 2012, Kalam launched a programme for the youth of India called the What Can I Give Movement, with a central theme of defeating corruption.</li>
        <li><b>2015</b> - Dies at the age of 85</li>
      </ul>
      <p>"He was an outstanding scientist and a great motivator whose teachings has inspired millions of lives. Nation can never forget his monumental contribution in the field of science & technology."</p><br>
      <p>--Amit Shah</p>
    </div>
    <footer>
      If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/A._P._J._Abdul_Kalam" id="tribute-link" target="_blank"><strong>Wikipedia entry.</strong></a></footer>
  </div>
  <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>

</html>
              
            
!

CSS

              
                * {
  font-family: Sans-serif;
}
#title {
  display: block;
  background-color: rgb(220, 220, 220);
  text-align: center;
}
#title h2 {
  font-weight: normal;
  font-size: 17px;
}

#img-div {
  text-align: center;
  display: block;
  filter: grayscale(100%);
  width: 90%;
  padding-bottom: 40px;
  margin: auto;
}
#image {
  height: auto;
  max-width: 100%;
  display: block;
  margin: auto;
  padding-top: 50px;
}
#img-caption {
  font-size: 15px;
}
#tribute-info h3 {
  text-align: center;
  margin-bottom: 5%;
}

#tribute-info ul {
  margin: auto;
  width: 70%;
  margin-bottom: 40px;
}
ul {
  display: grid;
  gap: 25px;
}
#tribute-info p {
  margin: auto;
  width: 70%;
  text-align: justify;
  font-style: italic;
}
footer {
  margin-top: 5%;
  text-align: center;
  font-size: 20px;
}

              
            
!

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