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.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <html lang="en">
<head>
    <link rel="stylesheet" type="text/css" href="C:/Users/Aleksandra/Desktop/NJAA/css/main.css">
    <meta charset="utf-8">
    <title>New Jersey Astronomical Association</title>
</head>
<body>
    <header>
        <center><img src= http://www.njaa.org/Resources/njaareachforthes.jpeg><br>
        <h2>Helping the public "reach for the stars" !</h2></center>
    </header>
    
    <div id="wrapper">
        
        <div id="nav">
            <ul>
                <li><a href="#">Home</a></li>
                <li><a href="#">About Us</a></li>
                <li><a href="#">Contact Us</a></li>
                <li><a href="#">Directions</a></li>
                <li><a href="#">Hours</a></li>
                <li><a href="#">Calendar</a></li>
                <li><a href="#">FAQ</a></li>
                <li><a href="#">Membership</a></li>
                <li><a href="#">Members Only</a></li>
                <li><a href="#">QO Page</a></li>
                <li><a href="#">Solar System Walk</a></li>
                <li><a href="#">Youth Education</a></li>
                <li><a href="#">Sky Darkness</a></li>
                <li><a href="#">Sky Weather</a></li>
                <li><a href="#">Sky Cam</a></li>
                <li><a href="#">Sky View Cafe</a></li>
                <li><a href="#">Weather Station</a></li>
                <li><a href="#">Links</a></li>
             </ul>
        </div>
    
        <div class="primary">
            <div class="speakerschedule">
                <h2>2014 Public* Speaker Presentations At NJAA</h2><br>
                September 27, 2014:  <a href="#">"Roving on Mars: The Journey of Curiosity"</a><br>
                October 25, 2014: <a href="#">"Effects of the Sun on Global Climate Change"</a>
            </div>
            
            <div class="speakerinfo">
                <p>*Public Hours at NJAA
                
                From Memorial Day to October 31, we are open:<br>
                
                Every Saturday evening from 8:30 PM to 10:30PM<br>
                
                Every Sunday afternoon from 2:00PM to 5:00PM<br><br>
                
                Each public session begins with a welcome by our "Qualified Observers" and a brief historical review of NJAA. This will be followed by an quick overview of the facility.<br><br>
                
                On the 4th Saturday from March thru October, there is a guest speaker presentation that begins at 8:30PM and will last approximately one hour. After a brief question and answer period, our "QO's" will be giving tours of the facility.<br><br>
                
                Should you have questions regarding Astronomy or the purchase & use of amateur telescope equipment, any of the "QO's" on duty, will be most helpful and provide you with the guidance you need.<br><br>
                
                For evening sessions and depending on the weather conditions, several of our telescopes, including the 26 inch which is the largest public telescope in New Jersey, will be open for observing the night sky.<br><br>
                
                Daytime sessions will include Solar Viewing through our specially filtered telescopes (weather permitting).<br><br>
                
                There is no fee and individual reservations are not required to attend our Public Sessions.</p>
            </div>
        </div>
        
        
        <footer>
            <div class="center">
                <div class="info">
                    New Jersey Astronomical Association<br>
                    The Paul Robinson Observatory<br>
                    P.O. Box 214<br>
                    High Bridge, New Jersey 08829-0214<br>
                    <a href ="#"><strong>Maps and Directions</strong></a><br><br>
                 
                    From Memorial Day to October 31st, we are open:<br>
                    Every Saturday evening from 8:30 PM to 10:30PM<br>
                    Every Sunday afternoon from 2:00PM to 5:00PM<br>
                    Please Review <a href="#">Calendar</a> for Specific Dates.
                    
                </div>
                
                <div class="connect">
                    <a href="#"><h2>Join our Mailing List!</h2></a>
                    <a href="#"><img src=http://www.amnh.org/extension/amnh/design/amnh_user/images/youtube.png></a>
                </div>
            </div>
        </footer>
    
    </div>
</body>
</html>

              
            
!

CSS

              
                /******************************************
GENERAL
******************************************/


body {
    background: pink;
    margin:0;
	padding:0;
	height:100%;
}

h2 {
    margin: 0px;
}


/******************************************
WRAPPER
******************************************/
header {
    padding:10px;
}

.primary, #nav {
   display: inline-block; 
}

#nav {
    float: left;
}

.primary {
    
}

.speakerschedule {
    background-color: lightblue;
    border: dashed;
    width: 40%;
    text-align: center;
}



/*******************************************
 FOOTER
 *******************************************/
.center {
   text-align: center;
   background: white;
   padding-top: 10px;
}

.info, .connect {
    display: inline-block;
    border: dashed;
    
}

.info {
  vertical-align: middle;
  text-align: left;
}

.connect {
    text-align: left;
    height: 180px;
    vertical-align: middle;
}
              
            
!

JS

              
                
              
            
!
999px
What's a functional programmer's favorite animal? A lamb, duh!

Console