JSFiddle - React, Tailwind, and code Playground
by Jay Lim
HTML
<div class="card">
<div class="header">
<h2>null과 undefined는 다른가?!</h2>
</div>
<div class="content">
<span onclick="findOut()">alert(null == undefined);</span>
</div>
</div>
CSS
.card {width: 180px; height: 100px; background: white; padding: 10px; margin: 15px; border: 1px #ededed solid}
.card .header h2 {font-size: 14px; margin-bottom: 20px;}
.card .content {font-size: 12px; text-align: center}
.card .content span {padding: 6px 8px; background: #333; color: white; border-radius: 5px;}
.card .content span:hover {cursor: pointer;}
JavaScript
findOut = function() {
alert(null == undefined);
}