123

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.

            
              <style>
    .container {
        margin-left: 360px;
        margin-right: 360px;
        padding: 10px;
    }
        .background {
        background-color: silver;
        margin: 10px;
    }
    .text-align {
        text-align: center;
    }
    .text-style {
        font-family: Arial;
        font-size: 20px;
    }
        .smaller-image {
        width: 600px;
    }
            .text-margin {
        margin: 10px;
    }
    .caption {
        font-size: 15px;
    }
</style>
<div class="container">
    <div class="text-margin">
        <div class="text-style">
            <div class="background">
                <div class="text-align">
                    <h1>Amelia Mary Earhart</h1>
                    <h2><em>was an American aviation pioneer and author</em></h2>

                    <a href="#"><img class="smaller-image" src="https://upload.wikimedia.org/wikipedia/commons/b/b2/Amelia_Earhart_standing_under_nose_of_her_Lockheed_Model_10-E_Electra%2C_small.jpg" alt="Ameila Mary"></a>
                    <div class="caption text-center">Amelia Mary Earhart - A hero.</div>
               </div>
                        <p>Earhart was the first female aviator to fly solo across the Atlantic Ocean.She received the U.S. Distinguished Flying Cross for this accomplishment. She set many other records, wrote best-selling books about her flying experiences and was instrumental in the formation of The Ninety-Nines, an organization for female pilots. In 1935, Earhart became a visiting faculty member at Purdue University as an advisor to aeronautical engineering and a career counselor to women students. She was also a member of the National Woman's Party and an early supporter of the Equal Rights Amendment.</p>

                        <p>During an attempt to make a circumnavigational flight of the globe in 1937 in a Purdue-funded Lockheed Model 10-E Electra, Earhart disappeared over the central Pacific Ocean near Howland Island. Fascination with her life, career and disappearance continues to this day.</p>

            <div class="text-align">
                        <p>
                            <em>"The woman who can create her own job is the woman who will win fame and fortune."</em>
                        </p>
                        <a href="#"><img class="smaller-image" src="https://upload.wikimedia.org/wikipedia/commons/9/93/Amelia_Earhart_%28signature%29.png" alt="Signature"></a>
                </div>
                        <p><strong>Records and achievements</strong></p>
                       
                                <ul>
                                    <li><strong>1922 </strong>Woman's world altitude record: 14,000 ft </li>
                                    <li><strong>1928 </strong>First woman to fly the Atlantic Ocean </li>
                                    <li><strong>1931 </strong>Speed records for 100 km (and with 500 lb (230 kg) cargo) </li>
                                    <li><strong>1931 </strong>First woman to fly an autogyro </li>
                                    <li><strong>1931 </strong>Altitude record for autogyros: 18,415 ft </li>
                                    <li><strong>1932 </strong>First person to cross the United States in an autogyro </li>
                                    <li><strong>1932 </strong>First woman to fly the Atlantic solo </li>
                                    <li><strong>1932 </strong>First person to fly the Atlantic twice </li>
                                    <li><strong>1932 </strong>First woman to receive the Distinguished Flying Cross </li>
                                    <li><strong>1933 </strong>First woman to fly nonstop, coast-to-coast across the U.S. </li>
                                    <li><strong>1933 </strong>Women's speed transcontinental record </li>
                                    <li><strong>1935 </strong>First person to fly solo between Honolulu, Hawaii and Oakland, California </li>
                                    <li><strong>1935 </strong>First person to fly solo from Los Angeles, California to Mexico City, Mexico </li>
                                    <li><strong>1935 </strong>First person to fly solo nonstop from Mexico City, Mexico to Newark, New Jersey </li>
                                    <li><strong>1937 </strong>Speed record for east-to-west flight from Oakland, California to Honolulu, Hawaii </li>
                                    <li><strong>1937 </strong>First person to fly solo from the Red Sea to Karachi </li>
                                </ul>
                        
          

                        <h3>You should read more about this incredible woman on her <a href="https://en.wikipedia.org/wiki/Amelia_Earhart" target="_blank">Wikipedia site</a>.</h3>
                        <footer class="text-align">
                            <hr>
                            <p>Written and coded by <a href="https://www.freecodecamp.org/fccd2584d7b-610a-420c-9669-c52a8f92b766" target="_blank">Krisztina Szklenár</a>.</p>
                        </footer>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
            
          
!
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