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://gitcdn.link/repo/freeCodeCamp/testable-projects-fcc/master/build/bundle.js"></script>

<div id=page-wrapper>
   <header id="header">
    <nav id="nav-bar">
      <ul>
        <img id="navbar-img"src="https://vignette.wikia.nocookie.net/geometry-dash-fan/images/c/c4/Video_Game_Icon.png/revision/latest/scale-to-width-down/480?cb=20171017201752" alt "image from pc">
        <li><a class="nav-link" href="#features">features</a></li>
        <li> <a class="nav-link" href="#video">The best of the industry</a></li>
        <li><a class="nav-link" href="#locator">products</a></li>
      </ul>
    </nav>
<!--dead links-->
     <!--THE LOGO IS THE IMAGE-->
    <div class="logo">
      <img id="header-img"src="https://cdn.vox-cdn.com/thumbor/3pJMTW44O6I5rH0BOde5Hsvz1Sk=/0x0:1619x897/920x613/filters:focal(681x320:939x578):format(webp)/cdn.vox-cdn.com/uploads/chorus_image/image/59177933/battleroyaleactu.0.jpg">
      <img id="header-img1" src="https://images.pexels.com/photos/59966/xbox-game-handle-entertainment-59966.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260">
      
<!--dead links-->      
    </div>
  </header>
</div>
<!--here it may need a container-->
<!---->
<section class="hero-text" >
 <h2 id="locator">The best of games is here</h2>
  <form id="form" action="https://www.freecodecamp.com/email-submit"><input name="email" id="email" type="email" placeholder="Enter your email"><input id="submit" type="submit" name="submit" class="btn" value"submit"></input></form>
</section>

<section></section>

<section id="the-industry">
<iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/p15dxdYH9Bg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</section>

<div class="container">
  <section id="features">
    <h1>The best environment</h1>
    <p>Our LAN gaming center has the best of the industry in terms of place for you to play and make fun with your friends. Come and join us in the best place of the town in terms of Game & Environment</p>
  </section>
  
  <section>
    <h1>the best acessories</h1>
    <p>Our computers have the best accessories for you dont lose your chance to win.</p>
  </section>
  
   <section>
    <h1>the best games</h1>
    <p>Of course, if our computers are greate it is clear that they are also able to run the best of the game industry. So, you will be able to enjoy playing your favorite game with your friends.</p>
  </section>
</div>


  
  
 
              
            
!

CSS

              
                body,html
{
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
}
#header-img{
  width:100% ;
  display:block;
}
/*-------------------------------------------*/
/*BELLOW IS NAVBAR*/
#nav-bar {
   overflow: hidden;
  background-color: #333;
    position:fixed;
  /*avoid overlay the content*/
    top: 0;
    right: 0;
    left: 0;
    z-index: 2000;
  /*avoid overlay the content*/
    border-bottom:white solid;
  
}

#navbar-img{
  height:40px;
    width:40px;
  
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
  height:40px;
}
a{
  text-decoration:none;
  font-family: "Arial Black", Gadget, sans-serif;
}

 li a {
    display:block;
    text-align:center;
    padding:10px 16px;
    color: white;
  }
li{
  float: right;
}
li a:hover{
 background-color:#515050; 
}
/*ABOVE IS NAVNAR*/
/*-------------------------------------------*/
/*the <h2> locator*/
#locator{
  position:absolute;
  visibility:visible;
  left:200px;
  top:100px;
  margin-left:auto;
  margin-right:auto;
   display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;  
  position: absolute;
left: 50%;
transform: translateX(-50%);
  
}
h2{
  font-family:"Arial Black", Gadget, sans-serif;
  font-size: 40px;
  color:black;
  margin-left:auto;
  margin-right:auto;
}
#form{
  position:absolute;
  visibility:visible;
  left:365px;
  top:255px;
  border: 2px solid #008CBA; 
  left: 50%;
  transform: translateX(-50%);
}
#video{
  position: center;

}
@media 
.btn{
  font-size:30px;
  /*to moviment the button*/
  position:absolute;
  visibility:visible;
  right:30px;
  top:50px;
  /*to moviment the button*/
  background-color:#008CBA;
  border-radius: 4px;
  border: 2px solid #008CBA;
  color:white;
}
.hero-text{
   display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
  margin-top: 50px;
}

#the-industry {
  margin-top: 50px;
  position:absolute;
  visibility:visible;
  top:650px;
  left:150px;
  }
  iframe {
    max-width:800px;
    width: 100;
  }
#features{
  position:justify;
  left:30px;
  :20px;
  @media (max-width: 768px;){
    
  }
}

/*for media query, >mobile first<*/
@media (max-width: 768px) and (min-width:481px){
  body{
    background: silver;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console