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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!DOCTYPE html>
<html>
  <head>
    <title></title>
  </head>
  <body>
    <main id = "main">
      <div>
        <h1 id = "title">Dr. APJ Abdul Kalam</h1>
        <p>A great scientist and beloved statesman</p>
      </div>
      <div id = "img-div">
        <img id = "image" src = "https://www.bing.com/th?id=OIP.hD2PjjQNv6hvD_1zIk4yMwHaIM&pid=Api&rs=1" alt = "Image of Dr. APJ Abdul Kalam"><br>
        <fig-caption id = "img-caption">Dr. APJ Abdul Kalam delivering a speech</fig-caoption>
      </div>
      <section id = "tribute-info">
        <h3><u>Notable lifetime achievements of Dr. APJ Abdul Kalam</u></h3>
        <ul>
          <li><strong>AEROSPACE ENGINEER:</strong> From selling newspaper at railway stations, he went on to study Aerospace Engineering from MADRAS INSTITUTE of TECHNOLOGY.</li>
          <li><strong>JOINING DRDO:</strong> After successful completion of engineering he joined DRDO(Defence Research and Development Organisation), a mammoth task in itself.</li>
          <li><strong>SLV-III:</strong> ISRO appointed him project director of SLV-III mission(India's first satellite launch programme).</li>
          <li><strong>ROHINI:</strong> India successfully launched satellite ROHINI in 1980 under his guidance.</li>
          <li><strong>CHIEF SCIENTIFIC ADVISER:</strong> In 1992, Dr. Kalam was appointed Chief Scientific Adviser to the Prime Minister of India.</li>
          <li><strong>POKHARAN-II:</strong> India sent out a loud and clear signal of its military strength by conducting Pokharan-II nuclear test under Dr. Kalam's directorship.</li>
          <li><strong>KALAM-RAJU STENT:</strong> Along with cardiologist Soma Raju, Dr. Kalam invented a low cost coronary stent named 'Kalam-Raju stent'.</li>
          <li><strong>MISSILE MAN of INDIA:</strong> Dr. Kalam played a major role in developing missiles AGNI(an intermediate range ballistic missile) and PRITHVI(surface-to-surface missile) for India. Since then, he became the missile man of India .</li>
          <li><strong>The BHARAT RATNA:</strong> Dr. Kalam received Padma Bhusan in 1981, Padma Vibhusan in 1990 and Indias highest civilian honour - The Bharat Ratna in 1997 for his excellent service in field of science & technology.</li>
          <li><strong>PEOPLE’s PRESIDENT:</strong> From being born to a poor fisherman's family, he went on to serve his nation ,INDIA, as its 11th President(25 July 2002 – 25 July 2007). He is popularly known as People's President.</li>
        </ul>
        <blockquote><i>"Dreams are not those which comes while we are sleeping, but dreams are those when u don’t sleep before fulfilling them."<br>--Dr. APJ Abdul Kalam</i></blockquote>
      </section>
      <h3>Check out Dr. APJ Abdul Kalam's inspiring story on his <a id = "tribute-link" target = "_blank" href = "https://en.wikipedia.org/wiki/A._P._J._Abdul_Kalam">Wikipedia entry</a>.</h3>
    </main>
  </body>
</html>

              
            
!

CSS

              
                <link href="https://fonts.googleapis.com/css?family=Varela+Round&display=swap" rel="stylesheet">
<style>
a{
  color: #2E64FE;
}
a:hover{
  color: #5882FA;
}
blockquote{
  text-align: center;
  padding: 25px;
  margin: 0 auto;
}
blockquote:hover{
  border-radius: 5px;
  box-shadow: 0px 3px #2E64FE;
  color: #2E64FE;
}
body{
  margin: 0 auto;
  width: 100%;
}
fig-caption{
  font-size: small;
  line-height: 20px;
}
img{  
  border-radius: 5px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
  width: 237px;
}
#img-div{
  background-color: white;
  border-radius: 5px;
  margin: 0 auto;
  padding: 15px;
  text-align: center;
  width: 60vw;
}
#img-div:hover{
  box-shadow: 5px 10px 5px #D8D8D8;
}
li{
  padding: 12px;
}
#main{
  background-clip: padding-box;
  background-color: #E0F2F7;
  border-radius: 5px;
  font-family: 'Varela Round', sans-serif;
  font-size: 20px;
  margin: 0 auto;
  padding: 15px;
}
#title, p, h3{
  text-align: center;
}
#tribute-info{
  padding: 15px;
}
ul{
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  margin: 0 auto;
  width: 75%;
}
</style>
              
            
!

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