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

              
                
<nav>
    <ul>
      <li><a href="#main">About</a></li>
      <li><a href="#Hands">Turning Point</a></li>
      <li><a href="#challenge">Upcoming Challenges</a></li>
    </ul>
</nav>

<section id="main" class="flex">
  
  <div class="container">
    <div>
      <br>
      <h1 id="title">Phil Galfond</h1>
        <p>The Comeback Kid</p>
        <p>Phil rose to fame by playing online poker under the screen name OMGClayAiken.<br> Over the years, he mixed a lot of live tournament play and won 3 World Series of Poker Bracelets.<br> In the midst of all the poker player, Phil started Run It Once poker training site in 2012. <br> Phil has expanded the Run It Once brand onto his new poker site in the last few years.<br>In late 2019, Phil set out to challenge the poker world in heads up Pot-Limit Omaha.<br>He has set up 5 matches with a variety of coaches, professionals, and recriational players.</p>
      
 <p>Phil's first match is against Venividi, a current top professional online player.<br> After being down nearly $1,000,000, he has staged a comeback.<br> Phil has won back $600,000 and needs $400,000 more to complete the comeback. <br><br><a href="https://www.runitonce.eu/galfond-challenge/#"> Follow each of the challenges here. </a></p>
    </div> 

    <div id="img-div" >
    <img id="image" class="responsive-image" src="https://pbs.twimg.com/profile_images/509524973963075585/ehg96q8X_400x400.jpeg" alt="Phil Galfond"/>
     <figcaption id="img-caption">Phil Galfond plays at the WSOP</figcaption>
    </div>
  </div>
    
</section>

<section id="Hands">
  <h2>Turning Point</h2>
  <h3> Quads vs Full House: The Challenge Turning Point - $42k hand!</h3>
  <div><table style="width:100%">
    <tr>
      <th> FLOP: </th>
      <th> TURN: </th>
      <th> RIVER: </th>
      <th> SHOWDOWN: </th> 
    </tr>
  <tr>
    <td><img class ="hand1" src="https://res.cloudinary.com/dzzrvsmcm/image/upload/v1584662093/flop_a8vwit.png" alt="flop"></td>
    <td><img class="hand1" src="https://res.cloudinary.com/dzzrvsmcm/image/upload/v1584662093/turn_n4cmp1.png"> </td>
    <td><img class="hand1" src="https://res.cloudinary.com/dzzrvsmcm/image/upload/v1584662093/river_ktwalb.png" alt="river" class="responsive"> </td>
    <td>Phil shows: <img src="https://res.cloudinary.com/dzzrvsmcm/image/upload/v1584662884/phil_tdhsxm.png" alt="Phil's hand"> for four of a kind, four 4s.</td>
  </tr>
  <tr>
    <td>Phil bets 300, Venividi raises to 1200, and Phil calls.</td>
    <td>Venividi bets 3600, and Phil calls</td>
    <td>Venividi bets 11k, and Phil puts Venividi all in for 15k total.</td>
    <td>Venividi shows: <img src="https://res.cloudinary.com/dzzrvsmcm/image/upload/v1584662878/venividi_jwdczp.png"> for a full house, 6s over 4s.</td>
  </tr>
  </table>
  <br>
  <div class="finish">
    <h3>Finishing the Challenge</h3><p>This hand was a major turning point in the challenge. On February 9, Phil's losing streak had came to an end. He would go on to win 9 of his next 12 sessions. His winning sessions were big, and his losing sessions were small. This allowed him to gain the ground he needed to keep the challenge competitive. Right now, March 20th, Phil looks to continue his streak and complete one of the wildest comebacks ever in a heads up poker challenge.</p></div>
</section>

<section id="challenge">
  <h2> Upcoming Challenges </h2>
    <div class="container">
      <div id="tribute-info"><h4>Challenge Opponents:</h4>
      <ul>
        <li>25k hands vs professional "Venividi"</li>
        <li>50k hands vs recreational player Bill Perkins</li>
        <li>35k hands vs professional Chance Kornuth</li>
        <li>7.5k hands vs professional Dan "Jungelman" Cates</li>
        <li>15k hands vs profesional "ActionFreak"</li>
        <li>40 hours of live poker vs professional Brandon Adams</li>
      </ul>
      </div>
    <div class="video-wrapper">
      <iframe width="560" height="315" src="https://www.youtube.com/embed/sWkNrQlO_bk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    </div>
  </div>
</section>
    
    
<footer>
  Follow along live on the <a id="tribute-link" href="https://www.twitch.tv/runitoncepoker" target="_blank">Run It Once Twitch channel!</a>
</footer>
      
      
      
      
      
      
      
      
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
              
            
!

CSS

              
                <style>

.hand1 {
  display: block;
  vertical-align: center;
  horizontal-align: center;
}

.container {
  display: flex;
  max-width: auto;
  color: white;
}

.container ul {
  padding: 10px;
  text-decoration: none;
  margin: 0 auto;
}

.responsive-image {
  display: block;
  max-width: 100%;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  margin: 40px;
}

#img-caption {
  margin: 20x 0px;
  color: white;
  text-align: center;
}

body {
  font-family: san-serif;
  margin: 0;
  background-color: #0e1217;
}

nav {
  background-color: #a81313;
  padding: 10px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  list-style-type: none;
}

nav ul li a {
  color: #fff;
  padding: 15px;
  text-decoration: none;
}

h2 {
  text-align: center;
  background-color: #a81313;
  color: white;
  padding: 10px;
}

h3 {
  text-align: center;
  color: white;
}

footer {
  text-align: center;
  color: white;
  background-color: #a81313;
  padding: 15px;
}

p {
  color: white;
  
}

.finish {
  text-align: center;
  color: white;
  margin: 15px;
  padding: 25px;
}


section {
  padding: 20px auto;
  margin: 15px auto 0;
}

th {
  background-color: gray;
  color: white;
  padding: 10px;
}
td {
  text-align: left;
  color: white;
}

td img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


</style>
              
            
!

JS

              
                

              
            
!
999px

Console