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.

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>

<header id="header">  
<img id="header-img"
src= "https://pictures.topspeed.com/IMG/crop/201711/maker-logos-18_1600x0w.jpg" width="200px"
  alt="The Audi Logo"> 

  <nav id="nav-bar">
    <nav>
      <ul>
      <li> <a class="nav-link" href="#Cars"> Cars </a> </li>
    <li> <a class="nav-link" href="#Company Overview"> Company Overview </a>  
        <li> <a class="nav-link" href="#Contact"> Contact </a> </li>
      </ul>
</nav>
  </header>
  
  <section id="Cars"
           <h2> Cars Selection </h2>
<p> <a href="https://www.audibrookline.com/all-inventory/index.htm?geoZip=&geoRadius=&search=Q5&compositeType=&dl.formElapsedTime=1831&dl.widgetName=Try+another+search&dl.formTrackingId=INVENTORY_SEARCH&saveFacetState=true&dl.element=BUTTON+Search&lastFacetInteracted="> 2018 Audi Q5 Price: $51,605 </a>
  
  <br> <a href="https://www.audibrookline.com/all-inventory/index.htm?search=A6&dl.custom.form.id=&dl.element=BUTTON+Search&dl.formElapsedTime=1831&dl.formTrackingId=INVENTORY_SEARCH&dl.isModal=&dl.params=&dl.widgetName=Try+another+search"> 2019 Audi A6 Price: $62,600 </a> 
  
  <br> <a href="https://www.audibrookline.com/all-inventory/index.htm?geoZip=&geoRadius=&search=A7&saveFacetState=true&compositeType=&accountId=&dl.formElapsedTime=1831&dl.widgetName=Try+another+search&dl.formTrackingId=INVENTORY_SEARCH&dl.element=BUTTON+Search&lastFacetInteracted="> 2019 Audi A7 Price: $83,450
  </a> 
  
  <br> <a href="https://www.audibrookline.com/all-inventory/index.htm?geoZip=&geoRadius=&search=R8&compositeType=&accountId=&dl.formElapsedTime=1831&dl.widgetName=Try+another+search&dl.formTrackingId=INVENTORY_SEARCH&saveFacetState=true&dl.element=BUTTON+Search&lastFacetInteracted="> 2018 Audi R8 Price: $207,825 </a>
</p>
</section>

<section id="Company Overview"
         <h2> What we are about </h2> 
<p> Audi is a luxury car bramd. Discover Audi as a brand, company and employer on our international website. Here you will find information about models and technologies. Inspiring content, interesting backgrounds and fascinating moments — digital, individual and authentic. Experience our vision of mobility and let yourself be inspired. </p> 
</section> 

<iframe id="video" src="https://player.vimeo.com/video/227900483" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</iframe> 

<section id="Contact"
         <h2> Contact </h2>
<p> USA Locations: 1-800-7926-1192 <br>
    UK Locations: 1-878-072-8988
</p> 
  
<form id="form" action="https://www.freecodecamp.com/email-submit">
  Email: 
   <input type="email"  name="email" id="email" required button type="submit" placeholder="Email"> 
  <input button type="submit" id="submit" >
  
</form>
              
            
!

CSS

              
                body{
  background-color: #D3E7E7;
}

header {
  font-size: 45px;
  font-family: sans-serif;
  text-align: center;
}

ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  font-size: 17px;
  list-style-type: none;
  text-align: center;
  padding: 10px;
  background-color: #C4E3E3;
}

li a {
  text-decoration: none;
  color: black;
  padding 9px 15px;
}

li a:hover {
  background-color: blue;
  color: white;
}

nav {
position: fixed;
top: 0;
width: 100%;
}




@media (max-width: 545px ){
  h1 {
    font-size: 1.15em;
  }




              
            
!

JS

              
                
              
            
!
999px

Console