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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <head>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.min.css">
<link href="https://fonts.googleapis.com/css?family=Arimo" rel="stylesheet">

<style>
body {
	font-family: 'Arimo', 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

a {
	color: #BF5700;
}

.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
    background-color: #BF5700;
    border: 0.1rem solid #BF5700;
    color: #fff;
}

#header {
	position: fixed;
	top: 0;
	z-index: 2;
	width: 100%;
	background-color: white;
	padding: .5rem 0;
}

#nav-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	width: calc(100% - 1.5rem); 
}

.contact, #connect, #events, #form {
	margin-top: 2rem;
}

.g-calendar-big {
  position: relative;
  padding-bottom: 75%;
  /* 75% of the width--These values are 900px and 675px, respectively. */
  height: 0;
  overflow: hidden;
}

.g-calendar-big iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.g-calendar-little {
  position: relative;
  height: 500px;  /* Set the height of your agenda visibility  */
  overflow: hidden;
}

.g-calendar-little iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

@media (min-width: 40.1rem) {
  .g-calendar-little {
    display: none !important;
  }
}


/* Addition by BRH Because the responsive code for the google calendar was not working on my iPhone4 */

@media (max-width: 40rem) {
  .g-calendar-big {
    display: none !important;
  }
}

.video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
#video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
body {
	margin-top: 6rem;
}
</style>

<header id="header">
	<nav id="nav-bar">
		<a class="nav-link" href="#top"><img id="header-img" height="32" src="https://cdn.rawgit.com/geomoetric/1a27dfea1399fe2d206039cc152f089f/raw/63e53cd85645ceb1ef51fc4a0202055901ca37d5/aigaut.svg"></a>
		<a class="nav-link" href="#about">About</a>
		<a class="nav-link" href="#events">Events</a>
		<a class="nav-link" href="#connect">Connect</a>
	</nav>
</header>
<body id="top">
<h1 id="about">About</h1>
<p>AIGA at UT Austin is an organization for University of Texas students from any major with a background in design or related fields. We aim to create an active community by providing opportunities for professional development, enhancement of technical skills, and networking through both inhouse and local design related events. Longhorn AIGA works directly with the local AIGA chapter to provide numerous opportunities to Longhorn AIGA members.</p>

<h1 id="events">Events</h1>

<div class="g-calendar-big">
<iframe src="https://calendar.google.com/calendar/embed?src=aiga.atutaustin%40gmail.com&ctz=America/Chicago" style="border-width:0" width="900px" height="675px" frameborder="0" scrolling="no"></iframe>
</div>


<div class="g-calendar-little">
<iframe src="https://calendar.google.com/calendar/embed?showTitle=0&amp;mode=AGENDA&amp;height=600&amp;wkst=1&amp;bgcolor=%23ffffff&amp;src=aiga.atutaustin%40gmail.com&amp;color=%235229A3&amp;ctz=America%2FChicago" style="border-width:0" width="280" height="600" frameborder="0" scrolling="no"></iframe>
</div>

<h1 id="connect">Connect</h1>
<p>Facebook Page:
<a>https://www.facebook.com/groups/aiga.atutaustin/</a><br> 
 
Hornslink:
<a>https://utexas.collegiatelink.net/organization/aiga-at-ut-austin</a></p>

<div class="video">
<iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/j4629aW23qM" frameborder="0" allowfullscreen></iframe> 
</div>

<h1 class="contact">Contact</h1>
<form id="form" action="https://www.freecodecamp.com/email-submit">
	<input id="email" name="email" type="email" placeholder="namey@mcnameson.com" required>
	<input id="submit" type="submit" name="submit" value="Submit">
</form>
</body>

              
            
!

CSS

              
                
              
            
!

JS

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

// BE SURE TO SELECT THE CORRECT TEST SUITE FROM THE DROPDOWN MENU!!! :-) 

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

              
            
!
999px

Console