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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.


                <script src=""></script>

  <main id="main">
    <h1 id="title">Neil deGrasse Tyson</h1>
    <h2>“Your Personal Astrophysicist”</h2>

    <div id="img-div">
      <img id="image" src="" alt="Dr. Tyson at the Hayden Planetarium in NYC.">
      <figcaption id="img-caption">Dr. Neil deGrasse Tyson at the Hayden Planetarium, in New York City.

        <em id="quote">
          “We are part of this universe; we are in this universe,<br>but perhaps more
          important than both of those facts,<br>is that the universe is in us.”

    <article id="tribute-info">
      <span id="source">Source: <a href="" target="_blank"></a></span>
        <h3>Who Is Neil deGrasse Tyson?</h3>
        One of America's best-known scientists, astrophysicist Neil deGrasse Tyson has spent much of his career
        sharing his
        knowledge with others. He has a great talent for presenting complex concepts in a clear and accessible

      <p>After studying at Harvard University, he earned his doctorate from Columbia University in 1991. Tyson
        went to work for
        the Hayden Planetarium in 1996 before becoming its director. Additionally, he has served as host of NOVA
        ScienceNow and
        the StarTalk Radio podcast. Tyson remains a popular TV science expert today and has amassed over 13
        million followers on

      <h3>Early Life and Education</h3>
        Born in New York City on October 5, 1958, Tyson discovered his love for the stars at an early age. When
        he was nine, he
        took a trip to the Hayden Planetarium at the Museum of Natural History where he got his first taste of
        Tyson later took classes at the Planetarium and got his own telescope. As a teenager, he would watch the
        skies from the
        roof of his apartment building.

        An excellent student, Tyson graduated from the Bronx High School of Science in 1976. He then earned a
        bachelor's degree
        in Physics from Harvard University and a doctorate in astrophysics from Columbia University in 1991.
        After spending a
        few years doing post-doctorate work at Princeton University, Tyson landed a job at the Hayden

      <h3>Career Highlights</h3>
      <h4>Director of the Hayden Planetarium</h4>
        Tyson eventually became the director of the Hayden Planetarium and worked on an extensive renovation of
        the facility,
        assisting with its design and helping raise the necessary funds. The $210 million project was completed
        in 2000, and the
        revamped site offered visitors a cutting-edge look at astronomy. One of Tyson's most controversial
        decisions at the time
        was the removal of Pluto from the display of planets. He classified Pluto as a dwarf planet, which
        invoked a strong
        response from some visitors. While some asked for the planet Pluto back, the International Astronomical
        Union followed
        Tyson's lead in 2006. The organization officially labeled Pluto as a dwarf planet.

      <h4>Host of 'NOVA ScienceNow'</h4>
        In addition to his work at the planetarium, Tyson has found other ways of improving the nation's
        scientific literacy.
        "One of my goals is to bring the universe down to Earth in a way that further excites the audience to
        want more," he
        once said. Tyson has taken his message to the airwaves, serving as the host of NOVA ScienceNow
        documentary series from
        2006 to 2011. In addition to breaking down barriers between scientists and the general public, Tyson has
        diversity to astrophysics. He is one of the few African Americans in his field.

      <h4>Presidential Advisor to George Bush</h4>
        Tyson has also served as a presidential advisor. In 2001, President George W. Bush appointed the
        astrophysicist to a
        commission on the future of the aerospace industry. Tyson also served another commission three years
        later to examine
        U.S. policy on space exploration.

      <h4>Celebrity Scientist & TV Appearances</h4>
        These days, Tyson is one of the most in-demand science experts. He gives talks across the country and is
        a media
        favorite whenever there is an important science issue in the news. Tyson is known for his ability to
        make difficult
        concepts accessible to every audience, his oratory skills and his sense of humor, which has led to
        appearances on such
        shows as Real Time with Bill Maher, The Colbert Report and The Daily Show.


      <h4>'StarTalk' Podcasts & TV</h4>
        In 2009, Tyson began hosting the podcast StarTalk Radio, a science-based talk show that features comedic
        co-hosts. Its
        success fueled the launch of a StarTalk TV show in 2015, as well as the spinoff podcasts StarTalk
        All-Stars and StarTalk
        Playing with Science.

        In 2014, Tyson hosted and served as the executive editor of a 13-episode television series entitled
        Cosmos: A Space-Time
        Odyssey. The series rebooted the classic science documentary, Cosmos. The original version featured Carl
        Sagan as host
        and provided a general audience with a greater understanding of the origin of life and our universe.

        Tyson has written several books for the general public, including Death by Black Hole and Other Cosmic
        Quandaries (2006)
        and The Pluto Files: The Rise and Fall of America's Favorite Planet (2009). After breaking down complex
        concepts in Astrophysics for People in a Hurry (2017), he followed with a collection of his responses to
        fans and
        critics in Letters from an Astrophysicist (2019).


      <h3>Personal life</h3>
        Tyson lives in New York City with his wife, Alice Young, who holds a Ph.D. in mathematical physics. The
        couple has two
        kids, Miranda and Travis.



      <h3>To get to know Dr. Tyson in depth, check out his <a id="tribute-link" href="" target="_blank">personal section</a> of the Hayden
        Planetarium website.</h3>



                body {
    background-color: rgb(4, 4, 17);

main {
    font-family: 'Montserrat', sans-serif;

@media(min-width: 881px) {
    h1 {
        font-size: 75px;
        margin: 50px 50px 15px 50px;
    h2 {
        font-size: 35px;
        margin:15px 50px;;

@media(max-width: 880px) {
    h1 {
        font-size: 55px;
        margin: 50px 50px 15px 50px;
    h2 {
        font-size: 25px;
        margin:15px 50px;;
    img {
        padding-top: 25px;

h3 {
    font-weight: 600;
    padding-top: 15px;

h4 {
    padding-top: 15px;

img {
    display: block;
    width: 100%;  
    height: auto;
    max-width: 55em;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;

figcaption {
    text-align: center;
    padding-top: 10px;

blockquote {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 60px 20vw;
    background-color: rgb(222, 219, 224);
    border-top: rgb(202, 65, 23) 3px solid;
    border-left: rgb(202, 65, 23) 13px solid;
    border-radius: 40px;
    font-size: 25px;
    color: rgb(28, 22, 97);

#source {
    display: block;
    text-align: end;

article {
    margin: 50px 20vw 15px 20vw;
    line-height: 1.8;

a {
    text-decoration: none;
    color: rgb(202, 65, 23)

a:hover {
    text-decoration: underline;
    color: rgb(255, 145, 111)


                // !! 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. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - 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.