<h2>How cool is Chris?</h2>
<div id="stuff"></div>
body {
  padding: 50px;
}
View Compiled
const name = 'chris';
let howCoolAmI;

// TERNARY!
howCoolAmI = (name === 'chris') ? 100 : 999;

// show it to our user
document.getElementById('stuff').innerText = 
  `Level ${howCoolAmI}`
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.