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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <div id= "Main-body">
 <div class="Main-body-content">
    <div class="rainbow"><h1> Top Tech</h1> </div>
    <ul class = "Topic-list"> 
      <li> <a href="#Top-3-computer-heading"> Computers  </a> </li> 
      <li> <a href="#Top-3-phones"> Phones  </a> </li>
      <li> <a href= "#Top-watches"> Smart Watches </a> </li>
      <li> <a href= "#Top-tablets">Tablets </li>
      <li> <a href= "#Top-headphones"> Headphones  </a> </li>
      <li> <a href= "#Game"> Game </a> </li>
    </ul>

      <img src = "http://clipart-library.com/image_gallery2/Technology.png" alt "Technology Tree" width="300px">
        <p id = "Description-of-website"> This website rates tech and provides links to the best reviews of the product. Click on a topic to see more information. </p>
 
  </div>
  </div>
      <div class="top-3-computers" >
      <h2 id="Top-3-computer-heading"> Top 3 Computers </h2>
        <p> Click on the name to see the best review </p>
      <ol>
        <li> <a target="_blank" href="https://www.digitaltrends.com/laptop-reviews/dell-xps-15-2018-review/"> Dell XPS 15 (2018)</li> </a> 
        <li> <a target="_blank" href="https://www.cnet.com/reviews/lg-gram-15-2018-review/"> LG Gram (2018) </li> </a>
        <li>  <a target="_blank" href= "https://www.techradar.com/reviews/macbook-pro">MacBook Pro (2018 touchbar)</li> </a>
      </ol>
<h6> <a href="#Main-body">  Back to the top </a> </h6> 
      </div>

      <div class="top-3-phones">
        <h2 id="Top-3-phones"> Top 3 Smart Phones </h2>
        <p> Click on the name to see the best review </p>
         <ol>
           <li> <a target="_blank" href="https://www.theverge.com/2018/10/15/17973484/google-pixel-3-xl-review-camera-features-screen-battery-price-photos"> Google Pixel 3 XL  <div> <iframe width="300" height="160" src="https://www.youtube.com/embed/E67Klqw2H-E" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div></li> </a>
           <li> <a target="_blank" href="https://www.tomsguide.com/us/galaxy-note-9,review-5647.html" > Samsung Galaxy Note 9 </li> </a>
           <li> <a target="_blank" href="https://www.theguardian.com/technology/2018/oct/04/apple-iphone-xs-review-battery-life-camera-design-performance"> iPhone Xs Max </li> </a>
         </ol>
<h6> <a href="#Main-body">  Back to the top </a> </h6> 
</div>




    <div class="Top-watches">
      <h2 id="Top-watches"> Top 3 Smart Watches </h2>
      <p> Click on the name to see the best review </p>
      <ol>
        <li> <a target="_blank" href="https://mashable.com/feature/apple-watch-series-4-review/#yqSUQbO2xOqJ">Apple Watch Series 4 </li> </a>
        <li> <a target="_blank" href="https://www.wired.com/review/review-samsung-galaxy-watch/"> Samsung Galaxy Watch </li> </a>
        <li> <a target="_blank" href= "https://www.techradar.com/reviews/ticwatch-pro-review">TicWatch Pro </li> </a>
<h6> <a href="#Main-body">  Back to the top </a> </h6> 
</div>

   <div class="Top-tablets"> 
     <h2 id="Top-tablets"> Top 3 Tablets </h2>
     <p> Click on the name to see the best review </p>
     <ol>
       <li> <a target="_blank" href= "https://www.engadget.com/2018/11/09/ipad-pro-2018-review/">iPad Pro </li> </a>
       <li><a target="_blank" href= "https://www.techradar.com/reviews/google-pixel-slate"> Google Pixel Slate </li> </a>
       <li> <a target="_blank" href= "https://www.theguardian.com/technology/2018/oct/16/microsoft-surface-pro-6-review-windows-10-tablet"> Microsoft Surface Pro 6 </li> </a>
<h6> <a href="#Main-body">  Back to the top </a> </h6> 
       </div>
  
 <div class= "Top-headphones">
   <h2 id="Top-headphones"> Top 3 Headphones </h2>
     <p> Click on the name to see the best review </p>
        <ol> 
          <li> <a target= "_blank" href="https://www.cnet.com/reviews/sony-wh-1000xm3-review/"> Sony WH-1000X </li> </a>
          <li> <a target="_blank" href="https://www.techradar.com/reviews/audio-visual/hi-fi-and-audio/headphones/apple-airpods-1328292/review"> Apple AirPods </li> </a>
          <li>  <a target="_blank" href="https://www.theverge.com/2018/5/21/17375546/oneplus-bullets-wireless-review-bluetooth-earphones">OnePlus Bullets Wireless </li> </a>
          </div>

     
     
     
<h6> <a href="#Main-body">  Back to the top </a> </h6> 

 <div id="Game"> <iframe src="https://itch.io/embed/287303" height="167" width="552" frameborder="0"></iframe> </div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
@import url('https://fonts.googleapis.com/css?family=Oswald|Yanone+Kaffeesatz');
h1 {
  font-size:60px;
  font-family: 'Oswald', sans-serif
}
body {
  background-color:rgb(222, 224, 249)
   
}
a {
 font-family: 'Yanone Kaffeesatz', sans-serif;
  color:rgb(75, 7, 117);
   text-decoration: none;
}
.Topic-list { 
  font-family: 'Yanone Kaffeesatz', sans-serif;
  font-size:40px;
  color:rgb(75, 7, 117);
   list-style-type:none;
}
#Description-of-website {
  font-family:  'Yanone Kaffeesatz', sans-serif;
  font-size:25px;
  color:rgb(72, 56, 124)
 
}
#Main-body {
  border:8px inset rgb(148, 156, 232);
  padding:30px;
  margin-bottom:90px;
}
.Main-body-content {
  display:flex;
  flex-direction:row; 
  justify-content:center;
  align-items: center;
  margin:auto;
}
.Topic-list {
  margin-left:40px; 
}
.top-3-computers{
   display:flex;
  flex-direction:column; 
  justify-content:center;
  align-items: center;
  margin:auto;
  margin:auto;
 font-family:  'Yanone Kaffeesatz', sans-serif;
  font-size:25px;
  color:rgb(37, 24, 94);
  margin-bottom:50px;
  padding:40px;
    border:20px solid rgb(37, 24, 94);
}
.top-3-phones {
  display:flex;
  flex-direction:column; 
  justify-content:center;
  align-items: center;
  margin:auto;
  margin:auto;
 font-family:  'Yanone Kaffeesatz', sans-serif;
  font-size:25px;
  color:rgb(37, 24, 94);
  margin-bottom:50px;
  padding:40px;
    border:20px solid rgb(37, 24, 94);
}
.Top-watches {
    display:flex;
  flex-direction:column; 
  justify-content:center;
  align-items: center;
  margin:auto;
  margin:auto;
 font-family:  'Yanone Kaffeesatz', sans-serif;
  font-size:25px;
  color:rgb(37, 24, 94);
  margin-bottom:50px;
  padding:40px;
  border:20px solid rgb(37, 24, 94);
}
.Top-tablets {
  display:flex;
  flex-direction:column; 
  justify-content:center;
  align-items: center;
  margin:auto;
  margin:auto;
 font-family:  'Yanone Kaffeesatz', sans-serif;
  font-size:25px;
  color:rgb(37, 24, 94);
  margin-bottom:50px;
  padding:40px;
  border:20px solid rgb(37, 24, 94);
}
.Top-headphones {
  display:flex;
  flex-direction:column; 
  justify-content:center;
  align-items: center;
  margin:auto;
  margin:auto;
 font-family:  'Yanone Kaffeesatz', sans-serif;
  font-size:25px;
  color:rgb(37, 24, 94);
  margin-bottom:50px;
  padding:40px;
  border:20px solid rgb(37, 24, 94);
}
.rainbow {
   animation: rainbow 10s linear infinite;
    width:200px;
   padding:24px;
}
h6 {
  font-size:30px;
}
#Game {
  display:flex;
  justify-content:center;
}
@keyframes rainbow {
  0% {
      color: violet;
  }
  14% {
      color: red;
  }
  28% {
      color: rgb(66, 78, 244);
  }
  42% {
      color: rgb(89, 249, 164);
  }
  56% {
      color: fushia;
  }
  70% {
      color: blue;
  }
  84% {
      color: indigo;
  }
  100% {
      color: violet;
  }
}



/* visited link */
a:visited {
    color:rgb(37, 24, 94); 
}

/* mouse over link */
a:hover {
    color:rgb(230, 168, 255);
}

      
              
            
!

JS

              
                
              
            
!
999px

Console