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

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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<body>
<div id="main">
  <h1 id="title"> Texas A&M University </h1>
  <p>I chose to make a tribute page honoring the college I attended, also known as TAMU.</p>
  <div id="img-div">
    <a id="tribute-link" href="https://tamu.edu" target="_blank"><img id="image" src="http://cte.tamu.edu/CTE/media/Images/Header%20Images/1.jpg" alt="Texas A&M Football">
      </a>
      <p id="img-caption">Fans attending a football game</p> 
  </div>
  


<div id="tribute-info">
 
  <ul> 
  <h2>Reasons I enjoyed attending Texas A&M:</h2>
      <li>I received a great education and had the pleasure to learn from some world renowned professors.</li>
      <li>A&M was a very fun school to attend and our football team was pretty good during my time there.</li>
      <li> I earned my degree in <a class="link-blue" href="http://catalog.tamu.edu/undergraduate/science/chemistry/bs/#programrequirementstext" target="_blank" alt= "chemistry course catalog">chemistry</a>, although now I'm thinking I should've pursued a degree in <a class="link-blue" href="http://catalog.tamu.edu/undergraduate/engineering/computer-science/bs/#programrequirementstext" target="_blank" alt="computer science courses"> computer science</a>!</li>
      <li>School that is rich in traditions and promotes a very welcoming/friendly campus.</li>
      <li>And last but not least, Texas A&M is where I met my wife :D.</li>

    </ul>
</div>
 </div>
</body>

<!-- 

Hello Camper!

For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

-->

              
            
!

CSS

              
                 body {
   background-color: #500000;
  }


h1, h2, ul, p {
  color: white;
  text-align:center;
}

h2 {
  text-align: left;
}

p {
  font-size: 17px;
}


#image {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  height: auto;
}

#img-caption {
  font-size: 15px;
  margin-top: 0.2em;
  font-style: italic;
}

#img:hover {
  transform: scale(1.03);
}

ul { 
  display: table;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
  font-size: 19px;
  max-width: 900px;
  margin-bottom: 1.3em;
}


.link-blue:hover {
  color: #00FFFF;
}


              
            
!

JS

              
                
              
            
!
999px

Console