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

              
                <div id = "main">
  
 
  
  <h1 id = "title">Elon Reeve Musk
  </h1>
  
  <h2> American Enterpreneur</h2>
  
<div id = "img-div" >
  <img id = "image" src = "https://i.pinimg.com/originals/3d/0d/a0/3d0da0ebf6339bad51887223a26410ae.jpg" alt id = "Portrait of Elon Musk">
  </img>
 
 <div id = "img-caption">
Founder, CEO, Lead Designer of SpaceX. <br>
Co-founder, CEO, Product Architect of Tesla, Inc.<br>
Co-founder of Neuralink.<br>
Founder of The Boring Company.<br>
Co-founder of Zip2.<br>
Founder of X.com (now PayPal).<br>
Co-founder of OpenAI.<br>
Chairman of SolarCity.</div></div> 
   
   <p id = "tribute-info">Tribute</p>
   
 <h3 id = "section">Biography</h3>
   
 <a id ="tribute-link" href="https://en.wikipedia.org/wiki/Elon_Musk"target="_blank">Wikipedia Link</a>

  </div>
   
    
  <p id = "img-caption"> Tribute
    
   </p>
  
  <p id = "tribute info">Elon Reeve Musk FRS (/ˈiːlɒn/; born June 28, 1971) is an industrial designer, technology entrepreneur, and philanthropist.[2][3][4] He is a citizen of South Africa, the United States (where he has lived most of his life and currently resides), and Canada. He is the founder, CEO and chief engineer/designer of SpaceX;[5] co-founder,[6] CEO and product architect of Tesla, Inc.;[7][8] founder of The Boring Company;[9] co-founder of Neuralink; and co-founder and initial co-chairman of OpenAI.[10] He was elected a Fellow of the Royal Society (FRS) in 2018.[11][12] In December 2016, he was ranked 21st on the Forbes list of The World's Most Powerful People,[13] and was ranked joint-first on the Forbes list of the Most Innovative Leaders of 2019.[14] As of May 2020, he has a net worth of $39.4 billion and is listed by Forbes as the 23rd-richest person in the world.[15][1] He is the longest tenured CEO of any automotive manufacturer globally.[16]<br><br>

Born and raised in Pretoria, South Africa, Musk briefly attended the University of Pretoria before moving to Canada when he was 17 to attend Queen's University. He transferred to the University of Pennsylvania two years later, where he received a bachelor's degree in economics from the Wharton School and a bachelor's degree in physics from the College of Arts and Sciences. He began a Ph.D. in applied physics and material sciences at Stanford University in 1995 but dropped out after two days to pursue a business career. He subsequently co-founded (with his brother Kimbal) Zip2, a web software company, which was acquired by Compaq for $340 million in 1999. Musk then founded X.com, an online bank. It merged with Confinity in 2000, which had launched PayPal the previous year and was subsequently bought by eBay for $1.5 billion in October 2002.[7][17][18][19]<br><br>

In May 2002, Musk founded SpaceX, an aerospace manufacturer and space transport services company, of which he is CEO and lead designer. He joined Tesla Motors, Inc. (Now Tesla, Inc.), an electric vehicle manufacturer, in 2004, the year after it was founded,[7] and became its CEO and product architect. In 2006, he inspired the creation of SolarCity, a solar energy services company (now a subsidiary of Tesla). In 2015, Musk co-founded OpenAI, a nonprofit research company that aims to promote friendly artificial intelligence. In July 2016, he co-founded Neuralink, a neurotechnology company focused on developing brain–computer interfaces. In December 2016, Musk founded The Boring Company, an infrastructure and tunnel construction company focused on tunnels optimized for electric vehicles.<br><br>

Apart from Tesla, Musk is not an investor in the stock market.[20] In addition to his primary business pursuits, Musk has envisioned a high-speed transportation system known as the Hyperloop, and has proposed a vertical take-off and landing supersonic jet electric aircraft with electric fan propulsion, known as the Musk electric jet.[21] Musk has said the goals of SpaceX, Tesla, and SolarCity revolve around his vision to "change the world and help humanity".[22] His goals include reducing global warming through sustainable energy production and consumption, and reducing the risk of human extinction by establishing a human colony on Mars.
  </p>
   
<a href = "https://www.biography.com/business-figure/elon-musk" target = "_blank" class = "tribute-link"> Click Here For More Information about Elon Musk</a>

<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

 </div>
              
            
!

CSS

              
                body {
  
 
  text-align: center;
}



  h1 {
    font-family: Sans-Serif;
    font-size: 35px;
    background-color: grey;
  }
  
  h2 {
    color: #8b0000;
    font-size: 30px;
  }
  
   img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
 
  #img-caption {
    font-family: Sans-Serif;
  }

  p {
    font-family: Helvetica;
    text-align: left;  
  }

.tribute-link {
  font-size: 15px;
   
}



              
            
!

JS

              
                
              
            
!
999px

Console