Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Fortnite - Want the Battle Pass for free?</title>
  
  
  
  
  
</head>

<body>

  
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fortnite - Share the Love</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Francois+One" rel="stylesheet">
<link href="https://fonts.google.com/specimen/Raleway" rel="stylesheet">
<a href="/store/en-US/"><img src="https://link.epicgames.com/img/5aab14cabf0081289547e8409j417.xvffw/0921fc04.gif" alt="" border="0" /></a>
<!--[if mso]>
<style type=”text/css”>
.fallback-font {
font-family: Arial, sans-serif;
mso-line-height-rule: exactly
}
body{
width:100% !important;
min-width:100% !important;
margin:0 !important;
padding:0 !important;
}
p {
line-height: 100% !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
</style>
<![endif]-->
<style type="text/css">
body {
width:100% !important;
min-width:100% !important;
margin:0;
padding:0;
}
table,td,a {
margin:0;
padding:0;
}
img {
outline:none;
text-decoration:none;
border:none;
height:auto;
line-height:100%;
text-align: center;
margin: 0 auto;
}
table {
width: 100%;
}
table,table td {
border-collapse:collapse;
border-spacing: 0;
margin: 0;
padding: 0;
text-align: center;
}
img {
outline:none;
text-decoration:none;
border:none;
height:auto;
line-height:100%;
}
.battle_pass {
font-family: 'Raleway', 'Open Sans', arial;
margin: 0;
color: #000;
text-align: center;
font-size: 16px;
line-height: 22px;
padding: 0% 20% 2.5% 20%;
}
.level {
font-family: 'Raleway', 'Open Sans', arial;
margin: 0;
font-weight: 800;
color: #000;
letter-spacing: 0px;
text-transform: uppercase;
text-align: center;
font-size: 20px;
line-height: 26px;
padding: 2.5% 10% 1.5% 10%;
}
.sub_level {
font-family: 'Raleway', 'Open Sans', arial;
margin: 0;
letter-spacing: 0px;
font-weight: 600;
color: #000;
text-transform: uppercase;
text-align: center;
font-size: 18px;
line-height: 24px;
padding: 0% 10% 2.5% 10%;
}
.stat {
font-family: 'Raleway', 'Open Sans', arial;
margin: 0;
text-align: center;
font-size: 16px;
line-height: 22px !important;
padding: 0% 8% 5% 8%;
color: #fefdfe;  
}
.header {
font-size: 38px;
font-family: 'Raleway', 'Francois One', 'Open Sans', arial;
text-transform: uppercase;
color: #fefdfe;
letter-spacing: 1.2px;
line-height: 42px;
margin: 1.5% 0%;
padding: 5%;
}
p {
font-family: 'Raleway', 'Open Sans', arial;
font-weight: 600;
}
@media only screen and (max-width: 768px) {
.header {
font-size: 30px;
line-height: 40px;
}
.stat {
font-size: 14px;
line-height: 20px !important; 
}
}
@media only screen and (max-width: 480px) {
u~div {
min-width: 95vw;
margin: 0 auto !important;
}
}
</style>
</head>
<body class="body" align="center" style="background-color: #FFF; border: 1px solid #fff; -webkit-font-smoothing: antialiased; margin:0 auto; padding:0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;">
<table border="0" align="center" cellpadding="0" cellspacing="0" style="width:100%; margin: 0 auto; padding: 0; text-align:center;">
<tr>
<td></td>
<td class="body-padding" style="margin: 0 auto !important; max-width: 800px; width: 800px;">
<div style="display: block; margin: 0 auto !important; max-width: 800px; padding: 2%;">
<center>
<!--[if mso]>
<table style="width: 640px;"><tr><td>
<![endif]-->
<!-- HEADER IMAGE -->
<table style="max-width: 800px; width: 100% !important; margin: 0; padding: 0; background-color: #fff !important;">
<tr style="margin: 0; padding: 0;">
<td align="center" style="margin: 0; padding: 0; width: 100%; background-color: #fff;">
<img src="https://media.sailthru.com/5m9/1k3/2/b/5c618850695c3.png" alt=Love is in the air. Complete 13 Overtime Challenges and receive the Season 8 Battle Pass for Free! border="0" style="display:block; max-width: 800px; width: 65%;">
</td>
</tr>
</table>
<!-- SHARE THE LOVE EVENT -->
<table style="max-width: 800px; width: 100% !important; margin: 0; padding: 0;  border-spacing: 0px !important;">
<tr width="100%" style="border: 0 !important; border-spacing: 0 !important; padding: 0 !important;">
<img src="https://media.sailthru.com/5m9/1k3/2/d/5c64991482021.png" alt="divider" style="max-width: 800px; width: 100% !important; display: block; padding: 0; border: 0 !important;" border="0" />
</tr>
<tr style="margin: 0; padding: 0 ;background-color: #fff;">
<td style="background-color: #fff;">
<h2 class="fallback-font header" style="padding: 4%; color: #E0324F;text-align: center; margin: 0; font-weight: 900;">Earn a Free Battle Pass!</h2>
</td>
</tr>
<tr style="margin: 0; padding: 0 ;background-color: #fff;">
<td style="background-color: #fff;">
<p class="fallback-font stat" style="padding: 0% 8% 5% 8%; color: #000;text-align: center; margin: 0;">Everyone who completes 13 free Overtime Challenges by February 27 will receive the upcoming <span style="font-size: 20px; font-weight: 900; color: #000;">Season 8 Battle Pass for FREE!</span> Save your V-Bucks, this one’s on us.</p>
</td>
</tr>
</table>            
<!-- DIVIDER -->
<table style="max-width: 800px; width: 100% !important; background-color: #FFF !important; padding: 0; margin: 0; margin-top: -2px; border-spacing: 0px !important;">
<tr width="100%" style="background-color: #FFF !important;">
<td>&nbsp;</td>
</tr>
</table>          
<!-- FREE REWARDS -->
<table style="max-width: 800px; width: 100% !important; margin-top: -2px; border-spacing: 0px !important">
<tr style="margin: 0; padding: 0;">
<td>&nbsp;</td>                  
<td width="100%">
<table style="width: 100% !important; margin-top: -2px; border-spacing: 0px !important;">
<tr style="background-color: #DC006C !important;">
<td style="background-color: #DC006C !important;">
<h2 class="fallback-font header" style="padding: 5% 2.5%; color: #FFDF3D;text-align: center; margin: 0 auto; font-weight: 900; background-color: #DC006C !important;" >Complete Challenges, Earn Free Rewards!</h2>
</td>
</tr>
<tr style="margin: 0; padding: 0 ;background-color: #DC006C !important;">
<td style="background-color: #DC006C !important;">
<p class="fallback-font stat" style="padding-bottom: 2.5%; background-color: #DC006C !important; color: #fff;text-align: center; margin: 0 auto;">All players can earn an additional 5 free rewards by completing Overtime Challenges. Battle Pass owners can also unlock free styles for the Trog, Powder, and Onesie outfits.</p>
</td>
</tr>
<tr width="100%" style="margin: 0; padding: 0 ;" >
<td width="100%" style="margin: 0; padding: 0;">
<img src="https://media.sailthru.com/5m9/1k3/2/d/5c64cfbb2643f.jpg" alt="divider" style="width: 100% !important; display: block; padding: 0; margin: 0;" border="0" />
</td>
</tr>                    
</table>
</td>
<td>&nbsp;</td>                
</tr>
</table>
<!-- DIVIDER -->
<!--<table style="max-width: 800px; width: 100% !important; background-color: #fff !important; padding: 0; margin: 0; margin-top: -2px; border-spacing: 0px !important;">-->
<!--        <tr width="100%" style="background-color: #fff !important;">-->
<!--            <td>&nbsp;</td>-->
<!--        </tr>                    -->
<!--    </table>  -->
<!-- DOUBLE XP -->
<table style="max-width: 800px; width: 100% !important; margin-top: -2px; border-spacing: 0px !important;">
<tr style="margin: 0; padding: 0; background-color: #fff;">
<td style="background-color: #fff;">
<h2 class="fallback-font header" style="padding: 5% 2.5%; color: #E0324F; text-align: center; margin: 0; font-weight: 900">Double XP Weekend</h2>
</td>
</tr>
<tr style="margin: 0; padding: 0 ;background-color: #fff;">
<td style="background-color: #fff;">
<p class="fallback-font stat" style="padding: 0% 4% 5% 4%; color: #120009;text-align: center; margin: 0;">All players will receive double XP during the weekends of February 15 - 17 and 22 -  24.</p>
</td>
</tr>
</table>
<!-- FEATURED ISLAND -->
<table style="max-width: 800px; width: 100% !important; margin-top: -2px; border-spacing: 0px !important">
<tr style="margin: 0; padding: 0;">
<td>&nbsp;</td>                  
<td width="100%">
<table style="width: 100% !important; margin-top: -2px; border-spacing: 0px !important;">
<tr width="100%" style="margin: 0; padding: 0 ;" >
<td width="100%" style="margin: 0; padding: 0;">
<img src="https://media.sailthru.com/5m9/1k3/2/d/5c64cf25b14a4.jpg" alt="divider" style="width: 100% !important; display: block; padding: 0; margin: 0;" border="0" />
</td>
</tr> 
<tr style="background-color: #db006d !important;">
<td style="background-color: #db006d !important;">
<h2 class="fallback-font header" style="padding: 5% 2.5%; color: #FFDF3D;text-align: center; margin: 0 auto; font-weight: 900; background-color: #db006d !important;" >Featured Island Frenzy</h2>
</td>
</tr>                      
<tr style="margin: 0; padding: 0 ;background-color: #db006d !important;">
<td style="#db006d !important;">
<p class="fallback-font stat" style="padding-bottom: 2.5%; background-color: #db006d !important; color: #fff;text-align: center; margin: 0 auto;">We’re celebrating the brilliance of our community creators all week with new featured islands in Fortnite Creative... Every. Single. Day. Squad up to play Kate The Cursed’s Battle Royale island and more!</p>
</td>
</tr>
<tr width="100%" style="margin: 0; padding: 0 ;" >
<td width="100%" style="margin: 0; padding: 0;">
<img src="https://media.sailthru.com/5m9/1k3/2/d/5c64d04faf304.jpg" alt="divider" style="width: 100% !important; display: block; padding: 0; margin: 0;" border="0" />
</td>
</tr>                    
</table>
</td>
<td>&nbsp;</td>                
</tr>
</table>           
<!-- PLAY NOW -->
<table style="max-width: 800px; width: 100% !important; background-color: #fff !important; margin-top: -2px; border-spacing: 0px !important;">
<tr style="margin: 0; padding: 0%; background-color: #fff !important;">
<td width="40px;" style="margin: 0; padding: 0;">&nbsp;</td>
<td style="margin: 0; padding: 0;">
<a href="https://www.epicgames.com/fortnite/en-US/battle-pass/season-7">
<img src=https://media.sailthru.com/5m9/1k3/1/v/5c531357a8b30.jpg alt="play now" border="0" style="display:block; max-width: 800px; width: 100%; margin: 5% 0%;">
</a>
</td>
<td width="40px;" style="margin: 0; padding: 0;">&nbsp;</td>
</tr>
</table>
<!-- FOOTER -->
<table style="max-width: 800px; width: 100% !important;background-color: #fff !important;">
<tr>
<td width="40px">&nbsp;</td>
<td align="center">
<a href="https://www.youtube.com/user/epicfortnite"><img src="https://media.sailthru.com/5m9/1k3/1/t/5c507647786c0.jpg" alt="Youtube" class="social" style="width:8%; margin: 5px; padding: 0"></a>
<a href="https://www.facebook.com/FortniteGame/"><img src="https://media.sailthru.com/5m9/1k3/1/t/5c5075d929ea9.jpg" alt="Facebook" class="social" style="width:8%; margin: 5px; padding: 0"></a>
<a href="https://twitter.com/FortniteGame"><img src="https://media.sailthru.com/5m9/1k3/1/t/5c50763ae3219.jpg" alt="Twitter" class="social" style="width:8%; margin: 5px; padding: 0"></a>
<a href="/fortnite"><img src="https://media.sailthru.com/5m9/1k3/1/t/5c50763493de8.jpg" alt="Twitch" class="social" style="width:8%; margin: 5px; padding: 0"></a>
<a href="https://www.instagram.com/fortnite/"><img src="https://media.sailthru.com/5m9/1k3/1/t/5c5075e658f01.jpg" alt="Instagram" class="social"  style="width:8%; margin: 5px; padding: 0"></a>
</td>
<td width="40px">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
<!-- BEGIN LEGAL -->
<table border="0" align="center" cellpadding="0" cellspacing="0" style="background-color: #fff !important;">
<tr style="background-color: #fff !important;">
<td width="40px"></td>
<td> </td>
<td width="40px"></td>
</tr>
<tr style="background-color: #fff !important;">
<td width="40px"></td>
<td align="center"><img src="https://media.sailthru.com/5m9/1k2/9/s/5bae4da474333.png" alt="" width="100px">
</td>
<td style="width:40px;"></td>
</tr>
<tr style="background-color: #fff !important;">
<td width="40px"></td>
<td align="center">&nbsp;</td>
<td style="width:40px;"></td>
</tr>
<tr style="background-color: #fff !important;">
<td style="width:40px;"></td>
<td style="text-align:center;font-size:10px;padding:0px;color:#6b6b6b;">© 2004-2019, Epic Games, Inc. Epic Games, Fortnite, Unreal, Unreal Engine 4, UE4, and their respective logos are trademarks or registered trademarks of Epic Games, Inc. in the United States of America and elsewhere. All rights reserved. </td>
<td style="width:40px;"></td>
</tr>
<tr style="background-color: #fff!important;">
<td style="width:40px;"></td>
<td style="font-size:10px;color:#6b6b6b; text-align: center;">
<a style="color:#6b6b6b;" href="/site/en-US/tos">Terms of Service</a> | <a style="color:#6b6b6b;" href="/site/en-US/privacypolicy">Privacy Policy</a> | <a style="color:#6b6b6b;" href="https://www.fortnite.com:443/">Website</a> 
</td>
<td style="width:40px;"></td>
</tr>
<tr style="background-color: #fff !important;">
<td style="width: 40px;"></td>
<td>&nbsp;</td>
<td style="width: 40px;"></td>
</tr>
<tr style="background-color: #fff !important;">
<td style="width: 40px;"></td>
<td style="font-size:10px;color:#6b6b6b;">
<p style="margin: 0 auto; text-align: center;"><a href="#">Unsubscribe</a></p>
</td>
<td style="width: 40px;"></td>
</tr>
<tr style="background-color: #fff !important;">
<td style="width: 40px;"></td>
<td>&nbsp;</td>
<td style="width: 40px;"></td>
</tr>
<tr style="background-color: #fff !important;">
<td style="width: 40px;"></td>
<td style="font-size:10px;color:#6b6b6b; text-align: center;">Box 254, 2474 Walnut Street, Cary, North Carolina, 27518</td>
<td style="width: 40px;"></td>
</tr>
</table>
<!-- END -->
</center>
</div>
<!--[if mso]>
</td></tr></table>
<![endif]-->
</td>
<td></td>
</tr>
</table>
</body>
</html>
  
  

</body>

</html>

              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console