JSFiddle - React, Tailwind, and code Playground
by yeti777937
HTML
<div class="element1">element1
<div class="element2">element2
<div class="element3">element3</div>
</div>
</div>
CSS
.element1 {
background-color: #b0c4de;
height: 160px;
width: 400px;
cursor: pointer;
}
.element2 {
background-color: pink;
height: 80px;
width: 300px;
position: relative;
top: 20px;
left: 50px;
}
.element3 {
background-color: lightgreen;
height: 30px;
width: 200px;
position: relative;
top: 10px;
left: 50px;
}
JavaScript
var a = 1;
function b() {
a = 10;
return;
function a() {}
}
b();
console.log(a);