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 

-->

<style>
body{
  background:black;
  color:white;
  font-family:calibiri;    
}
</style>
<div id="main">
  <h1 id="title">Dr. A.P.J. Abdul Kalam-A Missile Man</h1> 
 
<div id="img-div">
  <a id="tribute-link" target="_blank"href="https://www.news18.com/news/lifestyle/apj-abdul-kalam-birth-anniversary-2021-missile-man-of-indias-10-major-contributions-to-the-country-4323371.html">
  <img id="image" src ="https://images.moneycontrol.com/static-mcnews/2021/10/Kalam-2.jpg" alt="Dr. A.P.J. Abdul Kalam A Missile Man" width="20%" height="20%">
  </a>
<figcaption id="img-caption">He was the prominent scientist who served 11th President of india. He was also know by A Missile Man of india. After the Pokhran nuclear test he became national hero.</figcaption>
</div>
<p id="tribute-info">
  <b>APJ Abdjul Kalam Contributions</b>
  <ul>
    
</ul>
<li>Director of the project that led to the first Satellite Launch Vehicle (SLV)</li>
<li>Responsible for developing Indigenous Guided Missiles at DRDO</li>
<li>Facilitator of multiple nuclear tests in Pokhran</li>
<li>Gave us stent</li>
<li> Gave us Kalam-Raju tablet</li>
<li>Designed hovercraft, Nandi</li>
<li>Light Combat Aircraft project</li>
<li>Worked to create lightweight callipers for patients with motor disabilities</li>
<li>Authored best-selling notable Books</li>
<li>TERLS</li>
  </ul>  

</p>

              
            
!

CSS

              
                #img-caption{
  width:200px;
}

#image{
  max-width:100%;
  height: auto;
  display:block;
  
}
              
            
!

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