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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              div.container
  div.jumbotron
    div.row
      div.col-xs-12
        h1.text-center Neil deGrasse Tyson
        h2.text-center
          em astrophysicist, cosmologist, author, and science communicator
        div.thumbnail
          img(src="https://mediad.publicbroadcasting.net/p/wamc/files/styles/x_large/public/201704/neildegrassetyson.jpg").img-responsive
          h3.text-center Whoa!
        .row
          .col-xs-8.col-xs-offset-2.col-lg-8.col-lg-offset-0
            ul
              li 
                strong 1958 
                | - Born in New York, Manhattan, Bronx
              li 
                strong 1972 
                | - Attended The Bronx High School of Science
              li 
                strong 1980 
                | - Earned an 
                abbr(title="Bachelor of Arts")
                  a(href="https://en.wikipedia.org/wiki/Bachelor_of_Arts", target="_blank") AB 
                | degree in physics at Harvard College
              li 
                strong 1983 
                | - Finished his graduate work at the University of Texas at Austin, from which he received 
                abbr(title="Master of Arts")
                  a(href="https://en.wikipedia.org/wiki/Master_of_Arts", target="_blank") MA 
                | , it took him 3 years to complete.
              li 
                strong 1986 
                | -  Was a lecturer in astronomy at the University of Maryland
              li 
                strong 1988 
                | - Was accepted into the astronomy graduate program at Columbia University
              li
                strong 1989
                | - Earned an 
                abbr(title="Master of Philosophy")
                  a(href="https://en.wikipedia.org/wiki/Master_of_Philosophy", target="_blank") MPhil 
                | degree in astrophysics
              li
                strong 1991 
                | - Earned an 
                a(href="https://en.wikipedia.org/wiki/Doctor_of_Philosophy", target="_blank") 
                  abbr(title="Doctor of Philosophy") PhD 
                | in astrophysics
              li
                strong 1994 
                | - Joined the Hayden Planetarium as a staff scientist while he was a research affiliate in Princeton University
              li
                strong 1995 
                | - Became acting director of the planetarium
              li
                strong 1996 
                | - Became appointed director
              li
                strong 2000 
                | - As director, he oversaw the planetarium's $210 million reconstruction project
              li
                strong 2001 
                | - US President George W. Bush appointed Tyson to serve on the Commission on the Future of the United States Aerospace Industry 
              li
                strong 2004 
                | - Appointed to serve on the President's Commission on Implementation of United States Space Exploration Policy, the latter better known as the "Moon, Mars, and Beyond" commission
              li
                strong 2009 
                | -  Launched a one-hour radio talk show called StarTalk, which he co-hosted with comedian Lynne Koplitz
              li
                strong 2012 
                | - Announced that he would appear in a YouTube series based on his radio show
                em StarTalk
              li
                strong 2015 
                | - Began hosting a late-night talk show entitled Star Talk on the National Geographic Channel
              li
                strong 2016 
                | - Still alive :)


          .col-xs-12.col-lg-4
            .row
              .col-xs-6.col-lg-12
                blockquote
                  p "No one is dumb who is curious. The people who don't ask questions remain clueless throughout their lives."
                  footer 
                    cite Neil deGrasse Tyson
              .col-xs-6.col-lg-12
                blockquote
                  p "If you removed all the arteries, veins, & capillaries from a person’s body, and tied them end-to-end…the person will die."
                  footer
                    cite Neil deGrasse Tyson
                    
        h3.text-center Read more about Neil deGrasse Tyson a.k.a. "Black science man" on
          a(href="https://en.wikipedia.org/wiki/Neil_deGrasse_Tyson")  Wikipedia
  footer.text-center
    p Coded by
    a(href="https://www.freecodecamp.com/tarnos12") Mariusz Klimek
            
          
!
            
              body
  margin-top: 60px
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console