JSFiddle - React, Tailwind, and code Playground
HTML
<!doctype html>
<html>
<head>
<script src="/node_modules/jquery/dist/jquery.min.js"></script>
<script src="/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src='/socket.io/socket.io.js'></script>
</head>
<body>
<div class="container">
<div class="col-sm-4">
Short text
</div>
<div class="col-sm-8">
Long text
</div>
</div>
</body>
</html>
JavaScript
var http = require('http'),
fs = require('fs'),
index = fs.readFileSync(__dirname + '/index.html');
var app = http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end(index);
});
var io = require('socket.io').listen(app);
var server = app.listen(3000, function () {
});