JSFiddle - React, Tailwind, and code Playground

by mohammadAdil

HTML

<div id="second"></div>
<div id='third'></div>

CSS

#second{
    width:100px;
    background-color:red
}
#third{
    width:100px;
    background-color:green
}

JavaScript

$(function () {
    var alcada = $(window).height();
    $('#second').height(344);
    $('#third').height(alcada);
});