css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

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


  
  
 
            
          
!
            
              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;
  }
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console