Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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

Behavior

Auto Save

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

              
                <!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Ultimate Frisbee - Teams</title>
	<link rel="stylesheet" href="css/hw1.css">
</head>
<body>
	<header>
		<h1>Ulimate Frisbee Teams</h1>
		<nav>
			<a href="index.html">Home</a>
			<a href="history.html" class = "active">Teams</a>
			<a href="history.html">History</a>
			<a href="http://www.usaultimate.org/index.html" target="_blank">USA Ultimate</a>
		</nav>
	</header>
	<main>
		<aside class = "left">
			<a href="https://commons.wikimedia.org/wiki/File%3AUltimate_Frisbee%2C_Jul_2009_-_17.jpg"><img src="https://upload.wikimedia.org/wikipedia/commons/5/5d/Ultimate_Frisbee%2C_Jul_2009_-_19.jpg" alt="Creative Common Ultimate Photo" title="By Ed Yourdon [CC BY-SA 2.0 (http://creativecommons.org/licenses/by-sa/2.0)], via Wikimedia Commons"/> </a>

			<a href="https://commons.wikimedia.org/wiki/File%3AUltimate_Frisbee_Colorado_Cup_2005.jpg"><img alt="Ultimate Frisbee Colorado Cup 2005" src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Ultimate_Frisbee_Colorado_Cup_2005.jpg/512px-Ultimate_Frisbee_Colorado_Cup_2005.jpg"/></a>


			<a href="https://www.flickr.com/photos/paradisecoastie/15409853738/" title="Ultimate Frisbee"><img src="https://farm4.staticflickr.com/3948/15409853738_7dbfbfbac7_k.jpg"  alt="Ultimate Frisbee"></a>
		</aside>
		<section class = "right">
			<h2>College Teams</h2>
			<p>This is not meant to be a comprehensive list of all the teams, just a sampling from around the United States.<br/>  I focused on the ones that I though had cools names.</p>
			<table>
				<tr><th>Team Name</th>
					<th>Location</th>
					<th>League Type</th></tr>
				<tr>
					<td>Afterburn - Air Force</td>
					<td>Colorado</td>
					<td>Men's</td>
				</tr>
				<tr>
					<td>Cold Front (Bates College)</td>
					<td>Maine</td>
					<td>Women's</td>
				</tr>
				<tr>
					<td>Disco Inferno (Brown University)</td>
					<td>Rhode Island</td>
					<td>Women's</td>
				</tr>
				<tr>
					<td>Bad Habit (Catholic University)</td>
					<td>Washington DC</td>
					<td>Men's</td>
				</tr>
				<tr>
					<td>Jive Turkeys (Dickinson College)</td>
					<td>Pennsylvania</td>
					<td>Both</td>
				</tr>
				<tr>
					<td>Knights of the Round Disc(Longwood College)</td>
					<td>Virginia</td>
					<td>Men's</td>
				</tr>
				<tr>
					<td>Ninjas (University of Minnesota)</td>
					<td>Minnesota</td>
					<td>Women's</td>
				</tr>
				<tr>
					<td>Flying Squirrels (Hendrix College)</td>
					<td>Arizona</td>
					<td>Men's</td>
				</tr>
				<tr>
					<td>Superfly (Yale)</td>
					<td>Connecticut</td>
					<td>Men's</td>
				</tr>
				<tr>
					<td>Flywheel (University of Michigan</td>
					<td>Michigan</td>
					<td>Women's</td>
				</tr>
			</table>
		</section>
	</main>
</body>
</html>
              
            
!

CSS

              
                body{
  margin: 1%;
  padding: 1%;
  background-color:#fef5e7 ;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  overflow: hidden;
  background-color: #7b7d7d;
  padding: 20px 10px;
}

 header nav{
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 25px;
}

header h1{
  color: #fef5e7 ;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  
}

header a:hover {
  background-color: #fef5e7;
  color: #000000;
}

header a.active {
  background-color: #1E90FF;
  color: #ffff;
}

header nav {
  float: right;
}

nav a{
  font-size: 25px;
  border: 2px solid #fbeee6;
  border-radius: 25px;
  padding: 15px;
  text-decoration: none;
}

main{
  display: table;
  width: 100%;
 }

.left {
    display: table-cell;
    width: 20em;
    padding: 1.5em 1.5em 0;
    border: 1px solid #7b7d7d;
    border-right-color: #000;
    background-color: #7b7d7d;
 }

.left img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.5em;
    border: 1px solid #000;
 }

/* creating gry background color for my table header*/
 th{
   background-color: #7b7d7d;
 }

/* Here how i made the first column left and the other two column centered*/
.right td,
.right th
{
    text-align: left;
}

.right td + td,
.right th + th
{
    text-align: center;
}

/* The table headings should have a thicker bottom border with the top two corners rounded*/ 
.right {
    border-collapse:separate;
}

th {
    border:solid black 1px;
    border-top-right-radius:8px;
    border-top-left-radius: 8px;
   -moz-border-radius:8px;
}

/* The table should be styled using at least four properties is here*/
.right{
    display: table-cell;
    padding: 4% 0 0 4%;
    border-top: 1px solid #000;
    vertical-align: top;
 }

.right h2{
    text-align: center;
    text-transform: uppercase;
    margin-top: 5%;
 }

.right p {
    font-size: 120%;
 }

/* Here I styled The Line-height, font-family and centred the table using margin*/
.right table {
    padding-top: 1%; 
    line-height: 30px;
    font-family: Arial, Helvetica, sans-serif;
    width: 75%;
    margin: 0 auto;
 }

 .right th {
    padding: 0.25em 0.5em;
    border: 1px solid #cbc2b4;
    font-size: 120%;
    line-height: 45px;
    border-bottom: 5px solid #3498DB;
 }

/* here how i created my background Row and i set the opacity to 0.6*/
   tr td{
    padding: 0.25em 0.5em;
    border: 1px solid #cbc2b4;
    background:#bcbcbc;
    opacity: 0.75;
 }
 /* here how i changed the opacity of the text to be visuble when somone hover*/
  tr td:hover{
    opacity: 1;
    color: #000;
    font-weight: bold;
    font-size:90%;
    line-height: 40px;
}

              
            
!

JS

              
                
              
            
!
999px

Console